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

Should users be allowed to override 'playback' with 'ambient'? #7

Open
tguilbert-google opened this issue Jan 12, 2023 · 1 comment

Comments

@tguilbert-google
Copy link
Member

If two sites both mark their AudioSessionType as playback, will a user be able to override it to be ambient instead?

E.g. if there is music playing on one site and a user wants to play a spoken word video on a different site, and both sites are using playback, will there be a way to allow users to play the music and the video simultaneously?

This might be more relevant for desktop than mobile.

@youennf
Copy link

youennf commented Sep 19, 2024

On desktop, I believe that, by default, two AudioSessions of type playback on different tabs will not suspend each other.
I believe the UA is free to implement what it wants there.

Some UAs already provide ways to mute a tab. I guess it would be ok for a UA to allow user to make a tab as interruptible or mixing with others.

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

2 participants