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

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 UTC