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

I filed https://github.com/w3c/mediacapture-extensions/issues/16 so that we do not hijack this thread.

> here are plenty of other implementation concerns

Could you write them down in the above issue?

> Transferring 4k frames over IPCs would not be nice.

I think this is already happening for camera and screen capture in today browsers.
Also, compositing might happen out of process and the process doing the compositing is probably a good place to do tab capture.

In your specific usecase, the iframes might stay in the same process given they are on the same registrable domain.
Implementations could optimise that code path and skip IPC altogether.

I think it is important to look at perf and ergonomics.
I am wondering what your assessment of these approaches are in terms of ergonomics for the use case you have in mind and more generally.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/158#issuecomment-765372240 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 12:45:30 UTC