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

The spec is already talking about `OS/program/webpage lock prevents access`.
We could add a note in the section that returns `NotFoundError` to state that `OS preventing all access to display surfaces` is a reason for not having any source and leads to `NotFoundError`.

> Firefox does the same for camera and microphone.

Somehow related to this thread but we can note that, for getUserMedia, `NotFoundError` is ambiguous between no device and OS blocking access.
Plus it would be interesting to understand what enumerateDevices() should return in case OS prevents access to camera/microphone.

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


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

Received on Tuesday, 9 January 2024 20:58:25 UTC