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

Re: UI Problem - media types of incoming connection

From: Stefan Hakansson LK <stefan.lk.hakansson@ericsson.com>
Date: Sun, 3 Jun 2012 07:43:48 +0200
Message-ID: <4FCAF994.7020007@ericsson.com>
To: public-webrtc@w3.org
On 06/01/2012 09:48 PM, Eric Rescorla wrote:
> On Fri, Jun 1, 2012 at 11:53 AM, Justin Uberti<juberti@google.com>  wrote:
>> I don't know if this is even needed for this case. I would think we would
>> handle this by calling setRemoteDescription("offer", sdp), and then look at
>> the MediaStream (either from remoteStreams on onaddstream to see if it has
>> audio or video tracks. Bob hasn't signaled anything back to Alice at this
>> point, so this should be fine.
>
> This is what I had originally assumed one would do, and then when Cullen
> and I tried to do independent sequence diagrams, it turned out that he
> didn't agree, so I asked him if the editors could try to propose something :)
>
> Cullen can provide his own arguments for why you don't want to use
> onaddstream, but IIRC part of it was that the streams aren't actually
> readable at this point.

I think they should be; I think this was part of what was intended to 
accomplish with the re-design of when onaddstream fires. Before it used 
to be "when RTP is received on at least one of the tracks", now it is as 
soon as it has been signaled (and then actual media reception fires 
"onunmute" for the different tracks).

>
> -Ekr
>
Received on Sunday, 3 June 2012 05:44:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:28 UTC