bluefireteam / audioplayers

A Flutter package to play multiple audio files simultaneously (Android/iOS/web/Linux/Windows/macOS)
https://pub.dartlang.org/packages/audioplayers
MIT License
1.99k stars 844 forks source link

Connected to a bluetooth sound system #1629

Open Nver464 opened 1 year ago

Nver464 commented 1 year ago

Checklist

Use case / Problem

If you are connected to a bluetooth sound system, and you play it "takes over" the sound. If you are not connected, you can have two audio media playing.

Proposal / Solution

I'm using it to sound alerts in the app, so I need to be able to play with two audio sources, for example having a music app playing, and to be able to sound my alerts.

Example Code

Example Code ```dart void main() { } ```

Affected platforms

Android, iOS

Platform details

No response

Audio Files/URLs/Sources

No response

Mockups

No response

Related issues / more information

No response

Working on PR

no way

Gustl22 commented 1 year ago

Can you post the code? I think it should be already possible. Did you try out the AudioContext options?