Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to remove consent for default audio device? #89

Closed
svgeesus opened this issue Mar 31, 2020 · 2 comments
Closed

Option to remove consent for default audio device? #89

svgeesus opened this issue Mar 31, 2020 · 2 comments

Comments

@svgeesus
Copy link

In the consent section:

The default audio output device is always authorized.

That seems problematic unless there is a "null" output device. I often want all web pages to be unable to make sounds (I typically do that at the hardware level by inserting a blank jack into the headphone output, but that is suboptimal).

It looks like there should be an option for the user to remove consent from the default audio output device.

@youennf
Copy link
Contributor

youennf commented Mar 31, 2020

'The default audio output device is always authorised' is no longer in the latest draft I believe: https://w3c.github.io/mediacapture-output/. Instead the current wording is 'The specification adds no permission requirement to the default audio output device.'.

As of removing consent for the default audio output device, this is outside of the scope of the spec. This seems like something that should be offered by the browser directly.

It is true some pages might want to forbid iframes from playing audio but that seems like another request.

@guidou
Copy link
Contributor

guidou commented Dec 7, 2020

I agree with @youennf in that removing permission to play sound is outside the scope of the spec. There are already implementations of this. For example, Chrome allows muting a tab completely via UI and I do not see any need to change this spec to allow that.
Closing, but feel free to reopen if you think there is no consensus on this issue.

@guidou guidou closed this as completed Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants