- From: Harald Alvestrand <harald@alvestrand.no>
- Date: Mon, 17 Mar 2014 09:57:34 +0100
- To: Jan-Ivar Bruaroey <jib@mozilla.com>, public-media-capture@w3.org
On 03/14/2014 06:52 PM, Jan-Ivar Bruaroey wrote:
> On 3/14/14 3:37 AM, Harald Alvestrand wrote:
>> What about the "I want camera A, if I can't get that, camera B" case?
>
> Can you express it with constraints please?
getUserMedia({optional: [ {deviceId: a}, {deviceId: b} ]}, ....)
This has the implilcation that if neither is available, you take
whatever you can get, which may or may not be what the user wanted.
>
>> The introduction of "ideal" as a third member of a min-max structure
>> is possible in either proposal, but is another complexity point; I
>> think this proposal needs to be thought of separately.
>
> Isn't our goal to find the lowest complexity that supports our set of
> use-cases? When we have to consider things in concert.
Only if there is a linkage.
>
> I'm adding something and taking something away, hence lowering net
> complexity, and why "ideal" goes with the "require"/"prefer" feature
> of this proposal. - If you want to lift both features for use with
> constraints, I would support that.
>
> "Ideal" wasn't successful on its own
> http://lists.w3.org/Archives/Public/public-media-capture/2013Nov/0153.html
Thanks for the link!
>
> .: Jan-Ivar :.
>
Received on Monday, 17 March 2014 08:58:16 UTC