[Bug 17002] New: Specify SourceID to AudioTrack.id & VideoTrack.id mappings

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

           Summary: Specify SourceID to AudioTrack.id & VideoTrack.id
                    mappings
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
        AssignedTo: adrianba@microsoft.com
        ReportedBy: acolwell@chromium.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


The current spec does not provide a way for a web application to determine
which SourceID an AudioTrack or VideoTrack is associated with. This makes it
difficult for the application to determine what the current Active ID set is.

A simple solution would be to place the SourceID in the AudioTrack.id &
VideoTrack.id fields along with some sort of delimiter and the format native
trackID.

Some id possibilities for SourceID 'source1' & format native TrackID 2:
source1:2
source1-2
source1,2

The choice of delimiter would require escaping rules or restrictions on what
characters would be allowed in sourceID strings. Currently no restrictions
exist in the text.

Adding the sourceID to the id field also helps keep the id for each track
unique so that Audio|VideoTrack.getTrackById() works as expected.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 9 May 2012 02:20:17 UTC