RE: Early Holiday Present: Settings API version 6

Yes, if we make 'id' optional, the browser could use the first track on its video tracks list.  This simplifies things by allowing the app to ignore ids in the case where there's only one video track.

- Jim

-----Original Message-----
From: Martin Thomson [mailto:martin.thomson@gmail.com] 
Sent: Friday, December 14, 2012 12:04 PM
To: Jim Barnett
Cc: Travis Leithead; public-media-capture@w3.org
Subject: Re: Early Holiday Present: Settings API version 6

On 14 December 2012 06:54, Jim Barnett <Jim.Barnett@genesyslab.com> wrote:
> The argument could be the index of the track in the MediaStream's 
> videoTrackList

We identify tracks using their 'id' now.  Throwing Error when this makes no sense is OK.  This makes options 1 and 2 roughly equivalent to my mind.

You could also make this optional and have the browser pick the track that it determines to be most appropriate.

Received on Friday, 14 December 2012 18:10:14 UTC