Re: [mediacapture-output] allow="microphone" should authorize setSinkId (#148)

> What's proposed here would remove web developers' ability to prevent `iframe1` from emitting sound through non-default speakers if `iframe1` needs the ability to ask for microphones. That seems bad for web developers.

It's a valid point, but many applications are already written assuming that allow="microphone" also authorizes output devices in the iframe, based on:
1. the rationale that authorized microphones on the main frame result in implicitly authorized output devices on the main frame, so authorized microphones in the iframe should also implicitly authorize output devices in the iframe.
2. setSinkId predates the speaker-selection policy

You are right about selectAudioOutput, so we can keep it as is. Should we use permission descriptor for setSinkId as well?


-- 
GitHub Notification of comment by guidou
Please view or discuss this issue at https://github.com/w3c/mediacapture-output/issues/148#issuecomment-2593951820 using your GitHub account


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

Received on Wednesday, 15 January 2025 21:15:56 UTC