Re: [Bug 24928] the spec defines the addtrack event as part of the MediaStream interface, but never calls out when the event should be fired.

> --- Comment #2 from Shijun Sun <shijuns@microsoft.com> ---
> It seems okay to remove the addtrack event from the spec as long as the
> addtrack() call is synchronous.  Same to the removetrack event (as mentioned in
> bug 24930).

It's true that addTrack doesn't have any value for getUserMedia, but...

For streams that come from RTCPeerConnection it is critical. It is
also possible that the event is useful for streams that come from
other sources, like webaudio or <video> or <audio> tags.

Received on Friday, 7 March 2014 08:27:57 UTC