- From: Martin Thomson <martin.thomson@gmail.com>
- Date: Sun, 13 Jul 2014 21:01:09 -0700
- To: Stefan HÃ¥kansson LK <stefan.lk.hakansson@ericsson.com>
- Cc: Peter Thatcher <pthatcher@google.com>, Jan-Ivar Bruaroey <jib@mozilla.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On 12 July 2014 07:36, Stefan HÃ¥kansson LK
<stefan.lk.hakansson@ericsson.com> wrote:
>> ...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.
getUserMedia({video: true})
getUserMedia({video: {frameRate: 29.97}})
getUserMedia({video: true, source: "capture"})
// same as first, explicit source instead of relying on the default
getUserMedia({video: { width: 640 }, source: "application"})
// screen-cap, supports all constraints
Received on Monday, 14 July 2014 04:01:37 UTC