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

Great to see progress! Quick comments:
- controller should be non-transferable
- I'm ok with sync for now
- I still prefer `focus()` over `setFocusBehavior("focus-captured-surface")`

The last point is not for future proofing, but because it is simple and elegant.

Browsers' behavior today assumes a specific task. It is taking automatic action toward that task. I think if you attach a controller then it's like turning off autopilot and taking over control, and the assumption flip. You are more most likely to remote control the capture in some way, so not losing focus seems like a logical default.

So far, the features planned for this controller (sendActions, maybe move identity?) fit this assumption.


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


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

Received on Thursday, 8 September 2022 04:08:05 UTC