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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24928

--- Comment #3 from Adam Bergkvist <adam.bergkvist@ericsson.com> ---
But your comment regarding the stream state check is still valid. That needs to
be fixed.

I noted that the MediaStrem() constructor, which takes an other MediaStream or
a sequence of MediaStreamTracks, ignores ended tracks when constructing the
track set of the new stream. Should we do the same here or throw? I think it's
could be motivated to throw for addTrack() since you're only adding a single
track. The ignore-approach for the constructor acts like a filter for ended
tracks since several tracks can be added at once.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Friday, 7 March 2014 09:33:46 UTC