W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > December 2018

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

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Tue, 04 Dec 2018 06:11:42 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-387135099-1543903901-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:15:00 UTC