Re: [mediacapture-screen-share] Provide a means to select only part of a screen to capture (#105)

@youennf 

> The spec allows a user agent to implement capture of a part of a screen.
> Do you have use cases where capturing a part of a screen would be best compared to say sharing a tab or a window?

Provide a means to select only part of a screen to capture is a self-evident use case: The user only wants to capture certain portions of the tab, window, monitor surface. 

Is your question essentially why a user would want to capture only parts of a display surface, instead of use `getDisplayMedia()` exclusively for video confenferencing where the entire screen is captured?

Desktop browsers other than MacOS based do not support `capture`.

- The user can have multiple cameras connected to the machine, with each camera capturing a specific region of the display surface; for art, security, comparative analysis; etc.

- Capture of specific DOM elements in the document (still image and motion capture) instead of capturing tabs, other windows, prompts, etc.  just to capture specific parts of the display surface.

- Capture of video being played on the screen, where the only part that needs to be captured is the video being played, not other elements in the document, or in the window.

This can be achieved usinf constraints to `getDisplayMedia()` or `applyConstraints()`

`videoTrack.applyConstraints({screenX:100, screenY:100, screenWidth, screenHeight})`

Why would this not be specified?

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


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

Received on Monday, 7 September 2020 15:28:06 UTC