- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Nov 2022 20:34:45 +0000
- To: public-webrtc-logs@w3.org
beaufortfrancois has just created a new issue for https://github.com/w3c/mediacapture-main: == What is the purpose of MediaTrackCapabilities displaySurface? == Hello folks, the spec currently says `getCapabilities()` should return the current [displaySurface](1) value (either `"monitor"`, `"window"`, or `"browser"`). Note that it was added in https://github.com/w3c/mediacapture-screen-share/pull/84 I'm now wondering what purpose is served by exposing this capability? Is it for simple parity with `getSettings().displaySurface`? I'd love to understand how web developers could use `if (videoTrack.getCapabilities().displaySurface === "browser") ...` condition for instance? Thanks for your time! [1]: https://w3c.github.io/mediacapture-screen-share/#dom-mediatrackcapabilities-displaysurface Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/915 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 3 November 2022 20:34:47 UTC