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

> > Those are per-track and cannot tell you whether the source changed or e.g. was just resized.
> 
> Just check for `deviceId` in track.getSettings()

The spec [says](https://w3c.github.io/mediacapture-screen-share/#deviceId): _"deviceIds are not exposed."_. It's not listed in [ยง 5.4 Constrainable Properties for Captured Display Surfaces](https://w3c.github.io/mediacapture-screen-share/#constrainable-properties).

> CaptureController is a single place for mission critical information (running the callback may actually trigger a freeze of video frame generation).

Why is that critical? This is the kind of action at a (maybe not so much) distance we should document. This might justify a callback.



-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share-extensions/issues/4#issuecomment-2391864282 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:42:03 UTC