Re: [mediacapture-screen-share] getSupportedOptions() (#260)

Feature detection can be used for these preferences, for instance https://jsfiddle.net/vayrLp85/ is using the fact getDisplayMedia should reject with InvalidStateError outside of a user gesture in Safari.
Other methods could be used by relying on either error name or error message.

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


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

Received on Thursday, 23 March 2023 16:22:28 UTC