Re: [mediacapture-screen-share] Add ability to crop a MediaStream obtained through the share-this-tab API (#158)

> I think Chrome is quite far from being able to support this.

I haven't followed how much of media capture insertable streams is prototyped in Chrome.
If some Chrome version has support for MediaStreamTrackProcessor and MediaStreamTrackGenerator, what I thought could be tried is the following:
- In the iframe, call getDisplayMedia to get a track
- Use TrackProcessor to get the readableStream of video frames for that track
- Use postMessage to send the readableStream to the other iframe
- Use TrackGenerator to recreate a MediaStreamTrack from the transferred readableStream
- Use this track with RTCPeerConnection

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


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

Received on Friday, 22 January 2021 17:19:15 UTC