Closed corey-finch closed 3 months ago
Which API doesn't behave as documented, and how does it misbehave? I am using
just_audio
version 0.9.38 and playing an audio file from the web usingflutter_cache_manager
3.3.1. I'm using anAudioPlayer
with aConcatenatingAudioSource
and callingaudioPlayer.play
.
This isn't a bug unless you can show that it doesn't behave "as documented". The instructions for this section said:
Name here the specific methods or fields that are not behaving as documented, and explain clearly what is happening.
In order to answer this section, you must read the documentation and confirm that the documentation for those specific methods claim that they work in the background, where as when you test them, they do not work as documented.
(Closing as this is not a bug.)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio.
Which API doesn't behave as documented, and how does it misbehave? I am using
just_audio
version 0.9.38 and playing an audio file from the web usingflutter_cache_manager
3.3.1. I'm using anAudioPlayer
with aConcatenatingAudioSource
and callingaudioPlayer.play
.Minimal reproduction project Clone this repository (or just read the main.dart file) https://github.com/corey-finch/just_audio_bug. This repo just uses the basic example project created via
flutter create
with minimal code to start a sound effect on the first button tap.To Reproduce (i.e. user steps, not code)
Error messages There's no error from what I can tell but here is the most recent debug logging before audio cuts out
Expected behavior Audio playback should continue even when the app is in the background or when the screen is disabled. We want to support the ability to play a background "soundscape" even when the app is not actively in use. The expected behavior is observed on iOS (device can be left with app backgrounded and screen turned off indefinitely and audio will continue to play).
Smartphone (please complete the following information):
Flutter SDK version