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

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

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Sep 2018 00:53:25 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-424548893-1537923203-sysbot+gh@w3.org>
WebKit is not providing real device information until getUserMedia access is granted.
By default, enumerateDevices will provide default configurations for a given device, typically a microphone and a camera for a laptop.

Provided device ids are not persistent (maybe there should be no device ID in that case) and labels are hidden.

This should give the minimum meaningful information for a web application to decide whether to call getUserMedia and with which constraints.

A devicechange event can be used to convey to the web application that the full information is available.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/541#issuecomment-424548893 using your GitHub account
Received on Wednesday, 26 September 2018 00:53:31 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:45 UTC