JSEP: Check about state-changing and not-state-changing calls

Just to be sure I understand the JSEP proposal properly:

As I understand it, the following calls cause NO change in browser state:

pc.createOffer()
pc.createAnswer()

The following calls can cause a change to the overall PeerConnection 
state (between NEW, ACTIVE and CLOSED), and may cause changes to the 
incoming media streams' states:

pc.setLocalDescription()
pc.setRemoteDescription()

The following calls cause a change to the ICE processing state, and may 
cause (delayed) changes to the incoming media streams' states, by 
letting media flow:

pc.connect()
pc.processIceMessage()

The following calls cause a change in local (outgoing) media stream 
state, but do NOT trigger any automatic renegotiation, so do NOT cause 
any state change on the remote end, but WILL affect the result of 
pc.createOffer() and pc.createAnswer() if called:

pc.addStream()
pc.removeStream()

Is this understanding correct?

                           Harald

Received on Monday, 2 January 2012 11:01:51 UTC