This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Adaptive streaming specs like MPEG-DASH allow language & kind information to be specified in the manifest instead of only in the initialization segments. We'd like to be able to reflect this information in AudioTrack, VideoTrack, & TextTrack objects. The web application needs a mechanism to associate this information with the appropriate tracks. Proposed solutions: 1. Remove the readonly modifier from the kind & language attributes on Audio|Video|TextTrack and allow assignment. 2. Create a Media Source specific method on HTMLMediaElement like the following: void sourceSetTrackInfo(in DOMString trackId, in DOMString kind, in DOMString language)
(In reply to comment #0) > Adaptive streaming specs like MPEG-DASH allow language & kind information to be > specified in the manifest instead of only in the initialization segments. We'd > like to be able to reflect this information in AudioTrack, VideoTrack, & > TextTrack objects. The web application needs a mechanism to associate this > information with the appropriate tracks. This also applies if the DASH manifest is processed by UA. In this case, the UA can be expected to map well-known DASH <role> values to @kind. But DASH also allows extensions to <role> values. In this case, it would be useful for the web application to be able to set Video, Audio and Text @kind. > > Proposed solutions: > 1. Remove the readonly modifier from the kind & language attributes on > Audio|Video|TextTrack and allow assignment. > 2. Create a Media Source specific method on HTMLMediaElement like the > following: > void sourceSetTrackInfo(in DOMString trackId, in DOMString kind, in DOMString > language)
Changes committed http://dvcs.w3.org/hg/html-media/rev/52a85235137b
Reopening to replace setTrackInfo() with writable attributes proposed in http://lists.w3.org/Archives/Public/public-html-media/2013Jan/0007.html
Changes committed. https://dvcs.w3.org/hg/html-media/rev/fd2a58eec443