Re: [mediacapture-screen-share-extensions] Auto-pause capture when user switches captured content (#4)

Another proposal to consider, maybe it could help convergel:
- Rely on `configurationchange` event for apps to decide whether to continue processing or not. This means that when there is a source switch, video frame sending to sinks will be suspended until `configurationchange` event listeners are called (on a per track basis). This ensures the injection model works.
- Rely on a new notification mechanism (event/callback) to expose new tracks coming in (whether audio or video).
- We leave it to the UA/OS for now to decide how tracks get stopped. Depending on the OS UX, the user expectations may actually be different. We progressively converge on defining this behaviour as we experiment..

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


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

Received on Thursday, 3 October 2024 16:04:48 UTC