just_audio
just_audio copied to clipboard
Audio blip at beginning of playback after loading new set of urls/tracks. ANDROID
Which API doesn't behave as documented, and how does it misbehave? The playback method is adding a blip of sound at beginning of playback after adding new audio source. Even if I have the volume all the way down these blips are still audible. This problem is intermittent. I've tried pausing, stopping and disposing before loading the new playlist but to no avail. This problem so far is only happening on Android. I can't seem to reproduce it on my Iphone 8.
Minimal reproduction project The Example
To Reproduce (i.e. user steps, not code) Steps to reproduce the behavior:
- Load and play an audio source
- Load and play a new audio source with same player This problem is intermittent. You must try switching playlists multiple times to expose bug.
Error messages
It will usually say either:
device stall time corrected using current time 423843065667170
OR
retrograde timestamp time corrected, 423706313456701 < 423706316794409
BUT... It's saying this all the time on android anyways.
Expected behavior Clean Playback without a blip.
Smartphone (please complete the following information):
- Device: Oneplus 2
- OS: (Running android 10)
Flutter SDK version
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.6, on Mac OS X 10.15.7 19H1217 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
[✓] VS Code (version 1.58.2)
[✓] Connected device (2 available)
Can you describe more specifically what I need to click on in the example, in what steps? E.g. Do I need to click the FAB button?
In just audio background package, when i am playing a song from Music Activity then close the app and music also playing in background but when start app again then open Music activity not home activity why?
I wanna load data from server when app start again while music playing.
@rupakswadesh your comment seems unrelated to this topic, so I'll mark it as off topic. If you have a question, please click on new issue, then click on ask a question.