W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2011

RE: Semantics question for onaddstream() callback

From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Date: Mon, 7 Nov 2011 17:51:51 +0100
To: Eric Rescorla <ekr@rtfm.com>, Harald Alvestrand <harald@alvestrand.no>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <BBF498F2D030E84AB1179E24D1AC41D635350C9453@ESESSCMS0362.eemea.ericsson.se>

>On Mon, Nov 7, 2011 at 7:15 AM, Harald Alvestrand <harald@alvestrand.no> wrote:
>> 1) We know that this stream is expected. The callback occurs as soon as we
>> have the OFFER or ANSWER containing information about this stream. Move the
>> last onaddstream() up to just after onconnecting().
>> 2) We know that media is arriving on the stream. The callback occurs as soon
>> as the first media packet arrives. Move the first onaddstream() down below
>> the "ICE Completes" line
>> My order of preference is 1) followed by 2). But I think we need to pick one
>> and only one, and make sure the API spec says exactly that.
>My vote would be (1) and to add a onmediastarted() callback to
>indicate the first
>packet for a given media stream.
I share this view - you need both. //Stefan

Received on Monday, 7 November 2011 16:53:39 UTC

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