W3C home > Mailing lists > Public > public-webrtc@w3.org > September 2012

RE: Phone call about ICE states

From: Jim Barnett <Jim.Barnett@genesyslab.com>
Date: Mon, 10 Sep 2012 07:04:51 -0700
Message-ID: <E17CAD772E76C742B645BD4DC602CD8106A98DF6@NAHALD.us.int.genesyslab.com>
To: "Justin Uberti" <juberti@google.com>, "Cullen Jennings (fluffy)" <fluffy@cisco.com>
Cc: <public-webrtc@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 10 September 2012 14:05:08 GMT