W3C home > Mailing lists > Public > public-media-capture@w3.org > July 2014

Re: Bare constraint values - KISS

From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Date: Sat, 12 Jul 2014 14:36:59 +0000
To: Martin Thomson <martin.thomson@gmail.com>, Peter Thatcher <pthatcher@google.com>
CC: Jan-Ivar Bruaroey <jib@mozilla.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B1D02ED0B@ESESSMB209.ericsson.se>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:28 UTC