W3C home > Mailing lists > Public > public-media-capture@w3.org > December 2012

RE: Early Holiday Present: Settings API version 6

From: Jim Barnett <Jim.Barnett@genesyslab.com>
Date: Fri, 14 Dec 2012 18:09:46 +0000
To: Martin Thomson <martin.thomson@gmail.com>
CC: Travis Leithead <travis.leithead@microsoft.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-ID: <57A15FAF9E58F841B2B1651FFE16D281EE14@GENSJZMBX01.msg.int.genesyslab.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:13 UTC