Re: Bare constraint values - KISS

On 12/07/14 01:28, Martin Thomson wrote:
> On 11 July 2014 16:24, Peter Thatcher <pthatcher@google.com> wrote:
>> Any others?  Which do you prefer?
>
> None of the above.  Don't solve problems if you don't have to.
>
> ...getUserMedia({audio: false, video: false, application: true}, ...)
>
> is OK.
>
> ...getUserMedia({audio: false, video: true, source:
> "application|livecapture"}, ...)

Could someone expand a bit on this one? What would it look like if you 
wanted a camera (not application) - with and without constraints (just a 
simple example with e.g. frameRate) supplied? Can constraints be 
supplied if the source is "application"? How? Etc.

>
> is a little better again.
>
> All my opinion, of course.
>
>


Received on Saturday, 12 July 2014 14:37:25 UTC