Flutter-AssetsAudioPlayer
Flutter-AssetsAudioPlayer copied to clipboard
@kalismeras61 facing same issue with the **android** and **ios** please reopen this issue.and i have also followed all the things which are mentioned in the document. still background music is getting stopped when we play some sound by asset audio player. In video player we have this kind of option to mix sound with other playing audio which are playing but in audio player we can not do this
@kalismeras61 facing same issue with the **android** and **ios** please reopen this issue.and i have also followed all the things which are mentioned in the document. still background music is getting stopped when we play some sound by asset audio player. In video player we have this kind of option to mix sound with other playing audio which are playing but in audio player we can not do this

Originally posted by @BlackStriker99 in https://github.com/florent37/Flutter-AssetsAudioPlayer/issues/423#issuecomment-1264308739
@BlackStriker99 did you have any luck on this? This plugin seems outdated now
Did you tried audioFocusStrategy in open method ?
await _assetsAudioPlayer.open(
audioFocusStrategy: AudioFocusStrategy.request(
resumeAfterInterruption: true,
resumeOthersPlayersAfterDone: true,
),
);
@kalismeras61 still doesn't work. Background music still stops and doesn't resume if asset audio player is paused or stopped (Android)