W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2011

[whatwg] How to handle multitrack media resources in HTML

From: Eric Carlson <eric.carlson@apple.com>
Date: Mon, 11 Apr 2011 08:55:51 -0700
Message-ID: <FFB682C1-F9C8-41D3-A7FE-70986F3F9B86@apple.com>

On Apr 10, 2011, at 12:36 PM, Mark Watson wrote:

> In the case of in-band tracks it may still be the case that they are retrieved independently over the network. This could happen two ways:
> - some file formats contain headers which enable precise navigation of the file, for example using HTTP byte ranges, so that the tracks could be retrieved independently. mp4 files would be an example. I don't know that anyone does this, though.

  QuickTime has supported tracks with external media samples in .mov files for more than 15 years. This type of file is most commonly used during editing, but they are occasionally found on the net.


> - in the case of adaptive streaming based on a manifest, the different tracks may be in different files, even though they appear as in-band tracks from an HTML perspective.
> 
> In these cases it *might* make sense to expose separate buffer and network states for the different in-band tracks in just the same way as out-of-band tracks.

  I strongly disagree. Having different tracks APIs for different container formats will be extremely confusing for developers, and I don't think it will add anything. A UA that chooses to support non-self contained media files should account for all samples when reporting readyState and networkState.

eric
Received on Monday, 11 April 2011 08:55:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:03 GMT