You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which API doesn't behave as documented, and how does it misbehave?
Latest version
Minimal reproduction project
When I use audio files from web, as a playlist with ConcatenatingAudioSource , it is fine. Everything works.
But when I use with local assets instead of web, Progressbar lost its position.
NOTE: This issue never happens on Android but on Windows.
IMPORTANT NOTE !!!
Playing audio is fine, the problem is Progressbar which is properly used from apckage : "audio_video_progress_bar ".
When go next song, progressbar position crashes/frezes . (With signle song it is fine)
NOTE:
I tried ; AudioSource.asset() AND AudioSource.file() ... none of them worked.
// This is OK
final _playList = ConcatenatingAudioSource(
children: [
AudioSource.uri(Uri.parse("http://localhost:5000/song1")),
AudioSource.uri(Uri.parse("http://localhost:5000/song2")),
AudioSource.uri(Uri.parse("http://localhost:5000/song3")),
AudioSource.uri(Uri.parse("http://localhost:5000/song4")),
]);
// This has NOT OK : progressbar lost position and got frozen when hit next song.
final _playList = ConcatenatingAudioSource(
children: [
AudioSource.uri(Uri.parse("asset:///assets/songs/song1.mp3")),
AudioSource.uri(Uri.parse("asset:///assets/songs/song2.mp3")),
AudioSource.uri(Uri.parse("asset:///assets/songs/song3.mp3")),
AudioSource.uri(Uri.parse("asset:///assets/songs/song4.mp3")),
]);
To Reproduce (i.e. user steps, not code)
Only Playlist have issu. Single track is OK.
Error messages
ERROR message :
[just_audio_windows]: Broadcast playback evcent error: Error accessing BufferingProgress. Using default value of 1.
Expected behavior
Smooth pass to next song.
Screenshots
na
Desktop (please complete the following information):
Win 10 Pro
Smartphone (please complete the following information):
na
Flutter SDK version
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.5, on Microsoft Windows [Version 10.0.22631.3737], locale en-GB)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.6)
[√] Android Studio (version 2022.3)
[√] IntelliJ IDEA Community Edition (version 2024.1)
[√] VS Code (version 1.90.2)
[√] Connected device (3 available)
[√] Network resources
Additional context
na
OS: Windows 10 Pro
Flutter SDK version
Latest
The text was updated successfully, but these errors were encountered:
No Bruno.. it is vice versa, \ is used for escape characters etc.
Moreover Asset accessiblities are OK. Files are playing fine.
Only the issue when we switch to next song, it craches the progressbar (as a playlist of ConcatenatingAudioSource )
Android has no problem, all playlist running smoothly.
But on Windows , I get error like this : [just_audio_windows]: Broadcast playback evcent error: Error accessing BufferingProgress. Using default value of 1.
Which API doesn't behave as documented, and how does it misbehave?
Latest version
Minimal reproduction project
When I use audio files from web, as a playlist with ConcatenatingAudioSource , it is fine. Everything works.
But when I use with local assets instead of web, Progressbar lost its position.
NOTE: This issue never happens on Android but on Windows.
IMPORTANT NOTE !!!
Playing audio is fine, the problem is Progressbar which is properly used from apckage : "audio_video_progress_bar ".
When go next song, progressbar position crashes/frezes . (With signle song it is fine)
NOTE:
I tried ; AudioSource.asset() AND AudioSource.file() ... none of them worked.
To Reproduce (i.e. user steps, not code)
Only Playlist have issu. Single track is OK.
Error messages
ERROR message :
Expected behavior
Smooth pass to next song.
Screenshots
na
Desktop (please complete the following information):
Win 10 Pro
Smartphone (please complete the following information):
na
Flutter SDK version
Additional context
na
Flutter SDK version
Latest
The text was updated successfully, but these errors were encountered: