On 1/7/16 12:38 PM, [email protected] wrote:
On Thursday, January 7, 2016 at 9:22:15 AM UTC-7, Jan-Ivar Bruaroey wrote:
Look closely at the Firefox permission dialog here, and you'll see it
doesn't actually let users change the camera or microphone (because the
site uses `exact` constraints).
Interesting--is that "exact" constraint documented somewhere?
See [1] and [2].
Does Chrome support it as well?
Only if you use adapter.js, the official WebRTC polyfill. [3]
That's because Chrome still uses an older `mandatory`/`optional`
constraints syntax, which can express the same thing (`exact` has the
same effect as `mandatory`).
..: Jan-Ivar :.
[1]
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#Parameters
[2] http://w3c.github.io/mediacapture-main/getusermedia.html#methods-6
[3] https://github.com/webrtc/adapter/
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media