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

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

            Bug ID: 21618
           Summary: MediaStreams with no tracks need to not be Ended
    Classification: Unclassified
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Capture and Streams
          Assignee: public-media-capture@w3.org
          Reporter: harald@alvestrand.no
                CC: public-media-capture@w3.org

According to the current specs:
a) it is possible to create a MediaStream that has no tracks.
b) if all the tracks in a MediaStream are ended, the state of the MediaStream
is ended
c) You can't add tracks to a MediaStream that's ended.

b) is ambiguous for the case where there are no tracks: Is it ended or not?
If it is ended, creating a MediaStream with no tracks becomes useless, and
removing all tracks from a MediaStream will end it - rendering it useless.

If it is not ended, the MediaStream is useful - but it also becomes possible to
"un-end" a MediaStream by removing all its tracks.

A decision is sought.

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

Received on Monday, 8 April 2013 12:19:40 UTC