[mediacapture-main] Clarify request for permission is for both audio *and* video (editorial). (#556)

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

== Clarify request for permission is for both audio *and* video (editorial). ==
The [getUserMedia](https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediadevices-getusermedia) algorithm says: *"[Request permission to use](https://w3c.github.io/permissions/#request-permission-to-use) a PermissionDescriptor with its name member set to the permission name associated with *kind* (e.g. "camera", "microphone")"*

But it's a bit buggy what *kind* refers to here, since we're outside the for-loop of *requestedMediaTypes*. I suspect this used to be in the loop at some point.

We either need to move it back in, or phrase it such that it is clear that UAs are encouraged to use a combined permission prompt when requesting permission for both camera and microphone at the same time, in spite of the permission specification's algorithm not having an accommodation for this.

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

Received on Tuesday, 4 December 2018 06:11:43 UTC