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

Re: Semantics question for onaddstream() callback

From: Justin Uberti <juberti@google.com>
Date: Sun, 13 Nov 2011 09:33:57 -0500
Message-ID: <CAOJ7v-3XWPw4ayjD8S_7eOQTSeNuLvEgbXy+vRYEQC0Ye4OU_Q@mail.gmail.com>
To: Stefan HÃ¥kansson LK <stefan.lk.hakansson@ericsson.com>
Cc: Eric Rescorla <ekr@rtfm.com>, Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On Mon, Nov 7, 2011 at 11:51 AM, Stefan HÃ¥kansson LK <
stefan.lk.hakansson@ericsson.com> wrote:

>
> >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
>
>
Agree regarding (1). Regarding (2), what do we expect the application would
do when it gets an onmediastarted()?
Received on Sunday, 13 November 2011 14:34:55 UTC

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