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

Relation with virtual audio destinations on mobile devices. #8

Open
chrisguttandin opened this issue Jan 14, 2023 · 0 comments
Open

Comments

@chrisguttandin
Copy link

I wonder if this API somehow implies that audio will be played out on one of the virtual audio destinations on mobile devices. Sorry in case there is an official term for those destinations/groupings which I'm not aware of.

Android does for example currently allow to control the following four volume levels separately.

Media volume: Music, videos, games, and other media
Call volume: Volume of the other person during a call
Ring & notification volume: Phone calls, and notifications
Alarm volume

https://support.google.com/android/answer/9082609

Would an AudioSession with a type of 'playback' imply that it will be played with the "Media volume"? Or would an AudioSession with a type of 'transient' imply that it will be played with the "Ring & notification volume"?

How would one play something with the "Call volume"? I imagine this would be useful for WebRTC calls. Similarly, how would one play something with the "Ring & notification volume"? I imagine this would be useful for a "notify me when the live stream starts" feature.

As far as I know everything coming from the browser is currently played with the "Media volume".

@tidoust tidoust transferred this issue from w3c/audio-session-fork Oct 14, 2024
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

1 participant