Re: [mediacapture-main] Update enumerateDevices algorithm to make use of device-kind specific exposure checks when building cameraList and microphoneList. (#900)

> Is there a thread I could revive, or shall I start a new one?

There is some history at https://github.com/w3c/mediacapture-main/issues/646.
I think it would be worthwhile to check again what websites are doing in that area and reopen a new issue.

If it is still backward incompatible to return an empty list, we could think of specifying behaviours like:
- enumerateDevices always returns a camera and microphone at first, no matter whether there is actually one.
- After a call to getUserMedia leads to NotFoundError, enumerateDevices exposes whether there is no camera/microphone.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/pull/900#issuecomment-1257838073 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 26 September 2022 10:41:40 UTC