bluefireteam/audioplayers

Audioplayer Does Not Respect Volume On Android

oooluwa opened this issue · 1 comments

Checklist

  • I read the troubleshooting guide before raising this issue
  • I made sure that the issue I am raising doesn't already exist

Current bug behaviour

The plugin works on both Android and iOS devices, however, it appears to use the highest volume on Android. Sound plays very loud even when the phone has been set to the lowest volume

Expected behaviour

Sound should play at the volume set on the device

Steps to reproduce

  1. Execute flutter run on the code sample
  2. ...
  3. ...

Code sample

Code sample
void main() {
}

Affected platforms

Android

Platform details

No response

AudioPlayers Version

audioplayers: ^5.2.1

Build mode

debug, release

Audio Files/URLs/Sources

No response

Screenshots

No response

Logs

my relevant logs
Full Logs
my full logs or a link to a gist

Flutter doctor:

Output of: flutter doctor -v

Related issues / more information

No response

Working on PR

no way

I already noticed that sometimes the music is set very low and then suddenly it gets much higher even if it wasn't changed