Re: Semantics question for onaddstream() callback

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