RE: Phone call about ICE states

Justin,

A question about the PeerConnection callbacks on the offering side.  The offering side would initially call SetLocal and move to state ‘sent-offer’.    At some point it gets a response, calls SetRemote and moves to ‘active’  (for simplicity I’m leaving out pranswer.)  The SetRemote should cause ‘onaddstream’ to fire, and since both sides have accepted the description,  addTrack should follow.  A) is that correct?  B) if there are multiple streams, does ‘onaddstream’ fire for all of them before any ‘addTrack’, or can the two be interleaved?

 

Conversely, on the receiving side,  ‘onnaddstream’ would fire when the offer was received and SetRemote was called.  Would ‘addTrack’ then fire when the receiving side accepted the offer by calling SetLocal?  

 

Thanks,

Jim 

 

From: Justin Uberti [mailto:juberti@google.com] 
Sent: Monday, September 10, 2012 2:26 AM
To: Cullen Jennings (fluffy)
Cc: public-webrtc@w3.org
Subject: Re: Phone call about ICE states

 

I updated my IceState proposal (which corresponds to Option A, or the high-level part of Option C) based on the points raised at Thursday's discussions. Please take a look at the "IceState proposal" section in the attached document, and let me know what you think.

 

On Thu, Sep 6, 2012 at 7:55 AM, Cullen Jennings (fluffy) <fluffy@cisco.com> wrote:


Updated slides with Justin Option C added ..

 

Received on Monday, 10 September 2012 14:05:07 UTC