- From: Bob Lund <B.Lund@CableLabs.com>
- Date: Mon, 10 Mar 2014 16:11:49 +0000
- To: Silvia Pfeiffer <silviapfeiffer1@gmail.com>, "public-inbandtracks@w3.org" <public-inbandtracks@w3.org>
Received on Monday, 10 March 2014 16:12:16 UTC
Someone (Silvia?) proposed this interface in the Wiki [1]: interface TextTrack { ... readonly attribute ArrayBuffer metadata; // binary descriptor data } interface HTMLMediaElement { ... readonly attribute mediaType; // "video/mp2t" } I guess this would replace inBandMetadatatrackDispatchType. I think this is a good idea. Adding ‘mediaType' makes it easy for script to know how to parse the metadata. Adding ‘metadata’ as ArrayBuffer makes things easier for the UA and could also be added, if use cases support, to audio and video tracks. Should we submit an HTML5 bug in this regard? Thanks, Bob [1] https://www.w3.org/community/inbandtracks/wiki/Main_Page#In-band_Metadata_Attribute_Alternative
Received on Monday, 10 March 2014 16:12:16 UTC