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

Thinking about it again - if we use source-injection and someone registered an EventHandler for surface-switching, what streams/tracks does the event even reference? The original ones returned by gDM some seconds/minutes/hours ago? Those which might since have been cloned and stopped?

Using the callback-approach provided a good answer here - we simply wouldn't get notifications when source-injection happened. I think this was much better than trying to maintain support for the old injection model together with the new events.

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


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

Received on Monday, 20 November 2023 14:15:21 UTC