- From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
- Date: Mon, 17 Mar 2014 06:33:06 +0000
- To: Martin Thomson <martin.thomson@gmail.com>, Cullen Jennings <fluffy@iii.ca>
- CC: Jan-Ivar Bruaroey <jib@mozilla.com>, Harald Tveit Alvestrand <harald@alvestrand.no>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On 2014-03-15 23:29, Martin Thomson wrote: > On 14 March 2014 16:24, Cullen Jennings <fluffy@iii.ca> wrote: >> Two optional constrains, the first one saying the source is A and the second one saying the source is B. > > Or you could try this: > > navigator.getUserMedia({ 'sourceId': 'A' }, success, function() { > navigator.getUserMedia({ 'sourceId': 'B' }, success, failure); > }); Hm. Would you not need to push in a "require: 'sourdeId'" in the first gUM? Otherwise it would be "prefer" and if treated like optional mean that gUM would succeed even if it could not be satisfied. > > It seems like the example is basically contrived, so why not incur the > additional user prompt? > >
Received on Monday, 17 March 2014 06:33:33 UTC