[Bug 22248] New: Relationship between MediaStreamTrack and HTML5 VideoTrack / AudioTrack after MediaStream assignment

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

            Bug ID: 22248
           Summary: Relationship between MediaStreamTrack and HTML5
                    VideoTrack / AudioTrack after MediaStream assignment
    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: dom@w3.org
                CC: public-media-capture@w3.org

When a media is played in an <audio> or <video> element, that element gets
assigned videoTracks and/or audioTracks attributes that list individual audio
and video tracks.

The spec should define how these get filled when the media is coming from a
MediaStream; presumably each MediaStreamTrack is mapped into the relevant
audio/video track. Likewise, the relevant change, addtrack/removetrack events
should probably be specified upon changes in the underlying MediaStream.

It feels that MediaStreamTrack, AudioTrack and VideoTrack should be more
closely related interfaces at the WebIDL level, but it's not obvious to me what
that relationship should be, and HTML doesn't define a relationship between
AudioTrack and VideoTrack in the first place, so it might not matter in
practice.

-- 
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, 3 June 2013 15:23:52 UTC