[mediacapture-main] enumerateDevices() doesn't mention how to handle OS device permissions

jan-ivar has just created a new issue for https://github.com/w3c/mediacapture-main:

== enumerateDevices() doesn't mention how to handle OS device permissions ==
Android apps (including browsers) need OS device permissions—which trigger a user prompt—in order to enumerate devices. The spec needs to mention how to deal with this.

[enumerateDevices()](https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediadevices-enumeratedevices) mentions permission only wrt labels, and cannot fail.

Having this method [trigger prompts](https://bugzilla.mozilla.org/show_bug.cgi?id=1493318) seems undesirable.

What should the method do in this case? What should it return?

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/541 using your GitHub account

Received on Friday, 21 September 2018 23:29:40 UTC