[mediacapture-screen-share] Is it meaningful to select window audio to be system or window at surface selection time? (#325)

youennf has just created a new issue for https://github.com/w3c/mediacapture-screen-share:

== Is it meaningful to select window audio to be system or window at surface selection time? ==
https://w3c.github.io/mediacapture-screen-share/#dom-windowaudiopreferenceenum allows providing a hint to select either system or window audio.

I wonder what happens if surface changes.

I also wonder whether the goal is to improve privacy by reducing exposure of audio, or whether it is a convenience.
If it is more a convenience (and asking the user which audio to choose is complex), an approach would be to allow selection of the audio dynamically via either the track (a constraint maybe) or CaptureController (an attribute setter).

That may allow a scenario where user can dynamically switch between the two audio via some HTML UX.

In that case, maybe https://w3c.github.io/mediacapture-screen-share/#dom-windowaudiopreferenceenum should be back to `include`/`exclude` values.

Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/325 using your GitHub account


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

Received on Wednesday, 28 May 2025 16:00:21 UTC