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

Select function (Re: V4 comments (Re: Settings API Proposal v3 feedback summary))

From: Harald Alvestrand <harald@alvestrand.no>
Date: Fri, 05 Oct 2012 11:13:27 +0200
Message-ID: <506EA4B7.3050203@alvestrand.no>
To: public-media-capture@w3.org
One piece I missed in the previous round:

MediaDeviceList.select says:

Apply a set of optional and/or manditory constraints to the set of 
devices in the device list, with the goal of selecting a single device. 
This will queue a task to fire either a "constrainterror" or 
"constraintsuccess" event depending on the result. The 
"constraintsuccess" event includes the selected device on the 
DeviceEvent object's device attribute.

What this does not say is what the result of selecting a device is. Will 
it replace an existing device in some mediastream, be added to the 
mediastream, or does something else happen?

If the user wishes to start using two cameras from the device list, how 
is this to be done?

(Parenthesis: any time I see "any" as a return value, I wince. Can we 
constrain this to types that make sense?)

                    Harald
Received on Friday, 5 October 2012 09:13:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:02 GMT