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

> This is a useful method for feature detection. Is it due to the lack of this/a mistake that Chrome returns displaySurface from getSupportedConstraints?

I don't see a mistake here. That displaySurface should be returned by `getSupportedConstraints()` is specified [here](https://www.w3.org/TR/screen-capture/#dom-mediatracksupportedconstraints-displaysurface). Note that there is one spec that [defines](https://www.w3.org/TR/mediacapture-streams/#dom-mediatracksupportedconstraints) `MediaTrackSupportedConstraints` and another spec that [extends](https://www.w3.org/TR/screen-capture/#extensions-to-mediatracksupportedconstraints) it.

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


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

Received on Wednesday, 22 March 2023 15:45:10 UTC