Re: Survey ready on Media Multitrack API proposal

On Mar 2, 2010, at 11:03 PM, Silvia Pfeiffer wrote:

> 
>> 2) Isn't it more likely that you'd want to get all the tracks of a given role? I think getTracksByRole() might be a more useful
>> API addition.
> 
> It may indeed turn out that this most basic API needs some extensions.
> For now, we just want to be able to expose the most important
> information about the tracks of a media resource to the browser.
> getTracksByRole() can be simulated with this given API, so it is
> strictly not necessary. It would however be a valuable simplification
> for JavaScript. I'd suggest we get the basic implementation first
> before we ask browser vendors to make more complicated convenience
> functions.
> 
  It is fairly uncommon for a movie to have more than one track with a given role, so I agree that getTracksByRole would be overkill.

eric

Received on Wednesday, 3 March 2010 16:25:56 UTC