Re: [mediacapture-screen-share] Distinguish cancellations from absent OS permissions (#281)

> ... it would be interesting to understand what enumerateDevices() should return in case OS prevents access to camera/microphone.

This is known. Both Chrome and Firefox report 1 camera and 1 microphone without macOS permission.

> Somehow related to this thread but we can note that, for getUserMedia, NotFoundError is ambiguous between no device and OS blocking access.

Apps can disambiguate NotFoundError using enumerateDevices(). But yes gUM here is a side-track.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/281#issuecomment-1945025920 using your GitHub account


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

Received on Wednesday, 14 February 2024 23:37:07 UTC