Re: [mediacapture-screen-share-extensions] Auto-pause for Captured Surface Switching (2nd edition) (#15)

> * clone the sender's track
> * stop the sender's track, maybe use replaceTrack to provide synthetic video to remote users
> * wait for user's input
> * call replaceTrack with the track clone to restart.

Ah, that seems to work!

To pause frame delivery on the track-level, there is also the option of using `TransformStream` to drop frames until the application is ready to resume frame delivery, or to use `VideoTrackGenerator.muted`.

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


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

Received on Tuesday, 29 October 2024 14:53:50 UTC