Re: [mediacapture-screen-share] surfaceSwitching seems under-specified (#241)

> it's unclear how it would manifest and be JS observable.

I proposed some time ago to fire https://w3c.github.io/mediacapture-extensions/#exposing-change-of-mediastreamtrack-configuration in case of surface switching. Specifying the behavior would indeed be good.
Note that the switching is not necessarily done from UA but can be done at OS level.
It seems best to add a hook in the spec that the UA can call when switching happens, similarly to https://w3c.github.io/mediacapture-main/#ends-nostop for instance.

> we might also want to limit switching between different displaySurface types, unless we have compelling use cases for that.

This is UA/OS territory. I don't think the spec can mandate anything except calling again that some source types have more elevated permissions and these permissions should be enforced when doing switching.

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


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

Received on Tuesday, 11 October 2022 07:45:29 UTC