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

Re: What happened to onaddstream?

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Tue, 23 Jun 2015 06:11:45 +1000
Message-ID: <CAHp8n2nh4n8o5HPnaTqmu=_Lku+hUoxmTjyY2xKM-mi7xLtd9w@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: Martin Thomson <martin.thomson@gmail.com>, Peter Thatcher <pthatcher@google.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On 23 Jun 2015 5:38 am, "Harald Alvestrand" <harald@alvestrand.no> wrote:
>
> On 06/22/2015 06:20 PM, Martin Thomson wrote:
>>
>> It's gone from the spec.  Everyone implements it.  It would seem to be
>> necessary to document it, even if it is only under a "legacy" heading.
>>
> It went away when addStream() went away.
>
> Instead we have a "track" event that carries an RTCTrackEventInit,
containing a receiver, a track and an array of streams (section 5.4).
>
> It might be nice to have a separate "stream" event that fires only when a
new stream has been created; I don't think it's trivial to shim the
"stream" event based on only the information in "track" events.

Widely implemented browser APIs like this shouldn't just disappear from the
spec, especially if it's hard to shim it. I'm supportive of getting it back.

Silvia.
Received on Monday, 22 June 2015 20:12:14 UTC

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