[Bug 21618] MediaStreams with no tracks need to not be Ended

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

--- Comment #1 from Harald Alvestrand <harald@alvestrand.no> ---
Suggestion from Jim Barnett:

I think that if a MediaStream can become active again, that  it shouldn’t have
any (immediate) affect on a media element.  As far as I can figure out the
HTML5 spec, once a media element goes to ended, the only way it can leave ended
is for someone to call play() (or rewind or something).   So when a MediaStream
goes to inactive, the media element should also go to ended and stay there even
if the MediaStream becomes active again.  If someone calls play(), the media
element will pick up the new tracks in the MediaStream, but not before. 

Based on this, suggestion from Harald:

Suggested spec change: Remove the ended state on MediaStream.

Define that a MediaStream is inactive when it contains only MediaStreamTracks
that are ended (but don't add an attribute for it), and that a media element
enters the ended state when the MediaStream is inactive.

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

Received on Wednesday, 21 August 2013 11:12:18 UTC