[webrtc-pc] Isolated Media Streams requires modification on permission algorithms in GUM and Permissions specs

soareschen has just created a new issue for https://github.com/w3c/webrtc-pc:

== Isolated Media Streams requires modification on permission algorithms in GUM and Permissions specs ==
Section 10.4 Isolated Media Streams introduces a new `peerIdentity` field in `MediaStreamConstraints`, which may affect user interaction with the permission prompt:

> A user that is prompted to provide consent for access to a camera or microphone can be shown the value of the peerIdentity parameter, so that they can be informed that the consent is more narrowly restricted. 

The statement above seems to be optional, but implementing it could affect the algorithms in mediacapture-main and w3c/permissions. Here are few examples:

- A new field for `peerIdentity` needs to be added to `DevicePermissionDescriptor`.
- Permission query/request algorithms need to take into account `peerIdentity`.

- In statement 6.6 of `getUserMedia()`, call to _request permission_ requires proper construction of a `DevicePermissionDescriptor` object. 

- The statement "_considering all devices attached to a live MediaStreamTrack in the current browsing context to have permission status "granted"_" no longer applies, since permission for a device may be granted to specific peerIdentity only.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1646 using your GitHub account

Received on Thursday, 26 October 2017 08:56:06 UTC