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

> But this only works on a ScreenCapture within the browser, does it?

Can you clarify "within the browser"?

At Chromium it should be possible to select a "Tab" (`unmute` event of `MediaStreamTrack` fires under certain conditions https://bugs.chromium.org/p/chromium/issues/detail?id=1099280); "Application", inclucing Picture-In-Picture window; "Entire screen".

Images from the `MediaStreamTrack` as `ImageBitmap` can be captured using `ImageCapture.grabFrame()`. Process the frame to select, or remove parts of the frame. Transfer or draw the post-process frame to canvas where `MediaSteamTrack` from `canvas.captureStream()` (`MediaStream`) should be the post-process frames.

From perspective here one simpler procedure could be to provide a means to select only part of a screen to capture using constraints, thus this issue.

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


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

Received on Saturday, 5 September 2020 18:33:11 UTC