Re: [mediacapture-screen-share] A CaptureController object for getDisplayMedia() (#230)

The use cases I heard so far:
- app always wants focus
- app never wants focus
- app might want focus for some display surfaces, not others.
Those use cases would be covered by boolean focusTab and focusWindow preferences to DisplayMediaStreamOptions.
Or maybe a single focus preference that could take a vector of strings (tab, window, same-origin-tab...).
This should be quick and easy to spec/implement and avoids some of the issues we are trying to deal with.
Would it solve enough of the urgent use cases we are trying to cover?

This does not prevent from pursuing focus() in parallel for more advanced use cases.
This would be especially good if we can extend the duration where it could be called, with a proper security model.

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


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

Received on Tuesday, 6 September 2022 12:28:52 UTC