Skip to content

Audio buttons adjust phone volume instead of media volume #54

@clone1018

Description

@clone1018

We've got the audio coming out of the media output device successfully, but it appears we're still registering some type of phone volume because by default adjusting the android audio changes the phone volume instead of media.

By default, pressing the volume control modifies the volume of the active audio stream. If your app isn't currently playing anything, hitting the volume keys adjusts the music volume (or the ringer volume before Android 9).
From: https://developer.android.com/guide/topics/media-apps/volume-and-earphones#java

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingos:androidAndroid OS Issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions