Re: In-band track metadata attribute

On 11 Mar 2014 04:39, "Brendan Long" <B.Long@cablelabs.com> wrote:
>
> On Mon, 2014-03-10 at 16:11 +0000, Bob Lund wrote:
>>
>> Someone (Silvia?) proposed this interface in the Wiki [1]:
>
>
> I proposed this.
>
>
>> 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.
>
>
> I guess the big question is whether it would work for the other formats.
For MPEG-TS, it would simplify things because we can provide binary data as
binary.
>
> For Ogg, it seems like the inBandMetadatatrackDispatchType. is
superfluous, since we already provide the Name header as the track "id".
> For WebM, we could provide the CodecID as the mediaType, or part of the
mediaType, and leave metadata null.
> For MPEG-4, we could do the same thing.
> I guess the question I have now is, would this change be useful for any
format except MPEG-TS? When I proposed this, I assumed that each format
would have metadata to put in the "metadata" attribute, but it looks like
only MPEG-TS does, so maybe inBandMetadatatrackDispatchType really is the
simplest solution.

Could you provide some examples of the data that goes there for mp2-ts?

Thanks,
Silvia.

Received on Monday, 10 March 2014 19:42:13 UTC