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

To summarise:
- There is interest to capture a whole tab view, let's call it 'tab' option.
- There is interest to capture a document view, let's call it 'self' option.
- There is interest to capture a subpart of the document view, for instance an iframe of a document, maybe divs, let's call it 'node' option.

I think there is consensus for providing an option in the API to allow a web page to ask UA do the cropping.
It would be good to get confirmation if my understanding is correct.
In particular, cropping adds some complexity to the implementation to support this API in iframes for instance.

There is no consensus whether the default option value should be 'tab' or 'self'.

To make progress, I would go with adding an option to the API now.
It would take 'tab' or 'self' as values and we would make sure it could be extended to take nodes as a follow-up.

I would hope that the default option value becomes less crucial once the API offers both options.

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


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

Received on Wednesday, 16 June 2021 09:46:04 UTC