W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2022

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

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Tue, 11 Oct 2022 07:45:27 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-1274237093-1665474326-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:59 UTC