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?
player.seek(Duration.zero, index) (I guess. because a few moments after this method app goes to not responding mode)
Minimal reproduction project
Provide a link here using one of two options:
Fork this repository and modify the example to reproduce the bug, then provide a link here.
If the unmodified official example already reproduces the bug, just write "The example".
To Reproduce (i.e. user steps, not code)
To reproduce this issue, follow these steps:
Create a playlist with multiple tracks.
Run the app and play the first track.
Continuously skip to the next and previous tracks.
After a few skips, the app crashes, and the error log is shown.
Error messages
[just_audio_windows]: Broadcast playback event error: Error accessing BufferingProgress. Using default value of 1.
Expected behavior
The navigation between tracks should work smoothly without crashing the app.
Actual Behavior:
The app crashes unexpectedly after skipping tracks a few times.
[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.22631.4037], locale en-US)
• Flutter version 3.24.3 on channel stable at C:\ProgrammingTools\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (3 months ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Users\mmahamed\AppData\Local\Android\sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: C:\Program Files\OpenLogic\jdk-17.0.12.7-hotspot\bin\java
• Java version OpenJDK Runtime Environment OpenLogic-OpenJDK (build 17.0.12+7-adhoc..jdk17u)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.11.35327.3
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2024.2)
• Android Studio at C:\ProgrammingTools\android-studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
[√] VS Code (version 1.96.1)
• VS Code at C:\Users\mmahamed\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.102.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.4037]
• Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.205
• Edge (web) • edge • web-javascript • Microsoft Edge 131.0.2903.112
[√] Network resources
• All expected network resources are available.
• No issues found!
Additional context
This issue occurs only on Windows.
I am using the latest versions of just_audio and just_audio_windows with default configurations. When I add the preload: true parameter to setAudioSource() method the frequency of this error reduced but not completly solved.
The text was updated successfully, but these errors were encountered:
Which API doesn't behave as documented, and how does it misbehave?
player.seek(Duration.zero, index) (I guess. because a few moments after this method app goes to not responding mode)
Minimal reproduction project
Provide a link here using one of two options:
To Reproduce (i.e. user steps, not code)
To reproduce this issue, follow these steps:
Create a playlist with multiple tracks.
Run the app and play the first track.
Continuously skip to the next and previous tracks.
After a few skips, the app crashes, and the error log is shown.
Error messages
Expected behavior
The navigation between tracks should work smoothly without crashing the app.
Actual Behavior:
The app crashes unexpectedly after skipping tracks a few times.
Operating System: Windows 11
Flutter Version: 3.24.3
Package Versions:
just_audio: latest
just_audio_windows: latest
Flutter SDK version
Additional context
This issue occurs only on Windows.
I am using the latest versions of just_audio and just_audio_windows with default configurations.
When I add the
preload: true
parameter tosetAudioSource()
method the frequency of this error reduced but not completly solved.The text was updated successfully, but these errors were encountered: