- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Jan 2025 22:48:51 +0000
- To: public-webrtc@w3.org
jan-ivar has just created a new issue for https://github.com/w3c/mediacapture-surface-control: == Consider window capture == [ยง 5.3 Subroutine: Supported display surface type](https://w3c.github.io/mediacapture-surface-control/#subroutine-supported-display-surface-type) says the only supported _"surfaceType is [browser](https://www.w3.org/TR/screen-capture/#dfn-browser)"_ with this note: <img width="728" alt="Image" src="https://github.com/user-attachments/assets/fe21b5fe-842d-42fb-a6f6-9229c14881cb" /> Let's discuss. It seems to me the spec could easily be extended to cover window capture of same-browser windows, and that this would be just as useful. This would reveal that the `"window"` displaySurface is in fact a browser window, but this seems relatively harmless. Once https://github.com/w3c/mediacapture-surface-control/issues/51 is fixed, it should be simple to add an algorithm to extract the [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context) associated with the [viewport](https://html.spec.whatwg.org/multipage/#viewport) captured by either the [window](https://www.w3.org/TR/screen-capture/#dfn-window) or [browser](https://www.w3.org/TR/screen-capture/#dfn-browser) [display surface](https://www.w3.org/TR/screen-capture/#dfn-display-surface). Please view or discuss this issue at https://github.com/w3c/mediacapture-surface-control/issues/55 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 22 January 2025 22:48:52 UTC