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

Re: Bare constraint values - KISS

From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 11 Jul 2014 16:27:44 -0700
Message-ID: <CABkgnnX0Ry-NKvvLMsH99sr0XCnNZv2CdUhY6dcxb=zvEK9K=w@mail.gmail.com>
To: Peter Thatcher <pthatcher@google.com>
Cc: Jan-Ivar Bruaroey <jib@mozilla.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
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"}, ...)

is a little better again.

All my opinion, of course.
Received on Friday, 11 July 2014 23:28:13 UTC

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