W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2019

Re: [mediacapture-output] Selecting audio output in case device info permission is not granted (#83)

From: Alex Chronopoulos via GitHub <sysbot+gh@w3.org>
Date: Thu, 12 Sep 2019 16:18:03 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-530899570-1568305082-sysbot+gh@w3.org>
> Currently obtaining deviceID is possible outside gUM, with enumerateDevices.

Hmm I see that Safari does not set the deviceID either.

Nevertheless, this issue seems to be benefited by what is being discussed in [mediacapture-main#612](https://github.com/w3c/mediacapture-main/issues/612). Introducing a permission prompt in enumerateDevices would allow the user to authorize the access to the label and deviceID. Additionally, that authorization could be further used to enable the setSinkId; which means that the [device-info](https://w3c.github.io/permissions/#dom-permissionname-device-info) permission of an output device will be granted by the enumerateDevices prompt and setSinkId will be based on that permission. This will remove the need for gUM on playback only scenarios.



-- 
GitHub Notification of comment by achronop
Please view or discuss this issue at https://github.com/w3c/mediacapture-output/issues/83#issuecomment-530899570 using your GitHub account
Received on Thursday, 12 September 2019 16:18:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:28 UTC