[mediacapture-screen-share] Add a way to get capabilities before capture starts (#329)

guidou has just created a new issue for https://github.com/w3c/mediacapture-screen-share:

== Add a way to get capabilities before capture starts ==
In some cases an application feature works poorly if a value for a constrainable property is not supported.

For example, an application might call gDM with `restrictOwnAudio: true` or `supressLocalPlayback: true`, but the value `true` might not be supported for a specific platform or surface type. In this case, the user experience is likely to be poor and it would have been preferable to call gDM with {audio: false} or not call gDM at all.

Checking the value of the setting and stopping the track and then calling gDM again is also undesirable because it requires prompting the user again.

If the application knows what values are supported beforehand, it can make a better decision and provide a better user experience.



Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/329 using your GitHub account


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

Received on Monday, 16 February 2026 16:18:51 UTC