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

some methods reduce playing music volume #78

Open
meowofficial opened this issue Apr 22, 2024 · 0 comments
Open

some methods reduce playing music volume #78

meowofficial opened this issue Apr 22, 2024 · 0 comments

Comments

@meowofficial
Copy link

meowofficial commented Apr 22, 2024

addListener, setIOSAudioSessionCategory reduce volume of currently playing music. Minimization of application reverts music volume back. Resuming of application doesn't reduce volume again.

FlutterVolumeController.addListener(
      print,
      stream: AudioStream.music,
      category: AudioSessionCategory.playback,
      emitOnStart: true,
);
await FlutterVolumeController.setIOSAudioSessionCategory(
      category: AudioSessionCategory.playback,
);

Platform: iOS

@meowofficial meowofficial changed the title addListener reduces playing music volume some methods reduce playing music volume Apr 22, 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