Re: UserMediaSettings

On 14/03/2014 7:24 PM, Cullen Jennings wrote:
> On Mar 14, 2014, at 11:52 AM, Jan-Ivar Bruaroey <jib@mozilla.com> 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?
> Uh, I find it pretty worrisome that how to do that is not obvious …
>
> Two optional constrains, the first one saying the source is A and the second one saying the source is B.

Which is why I've said from the beginning, we'd be better off with an 
imperative API for getUserMedia(). We're painting ourselves into a real 
corner by insisting on the use of a declarative representation.

Gili

Received on Friday, 14 March 2014 23:27:52 UTC