W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2022

Re: [mediacapture-screen-share] What is the purpose of MediaTrackCapabilities displaySurface? (#250)

From: Elad Alon via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Oct 2022 08:37:09 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-1291692055-1666773427-sysbot+gh@w3.org>
> My naive thoughts were that `getCapabilities()` would return capabilities that allow users to make changes to the constrainable properties via `applyConstraints()`. In other words, that they would be either `max/min` ranges (e.g. `<input type="range"`) or sequences of choices (e.g. `<select>`, `<input type="checkbox">`).

That's also my expectation. Phrased differently, I'd have expected that:
- Settings define the current state of the track, regardless of mutability.
- Capabilities define how an app can mutate the track.

> It looks like I'm wrong according to the spec though.

For me, the question is whether the current design makes sense as is, or if it should be amended. It might be that much thought has gone into this design, and its selling points will be revealed upon closer inspection. Or it could be that things converged on a suboptimal result over time, and continued convergence will improve things. Do you know which it is, @jan-ivar?

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 26 October 2022 08:37:11 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:59 UTC