- From: Jan-Ivar Bruaroey <jib@mozilla.com>
- Date: Sun, 23 Mar 2014 11:02:05 -0400
- To: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>, Dominique Hazael-Massieux <dom@w3.org>
- CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 3/23/14 6:30 AM, Stefan Håkansson LK wrote:
> I think Dom has a point; it is not completely clear to me how I would
> request different combinations of audio and video, with and without
> constraints applied to the request, e.g. audio (no constraints) + video
> (e.g. mandatory frameRate, optional width) etc.
var constraints = {
video: true,
audio: true,
require: ["frameRate"],
width: 1280,
frameRate: 60,
};
navigator.getUserMedia(constraints, success, failure);
None of our constraints overlap. e.g. we have frameRate vs. sampleRate,
not rate.
.: Jan-Ivar :.
Received on Sunday, 23 March 2014 15:02:33 UTC