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?
On IOS, awaiting the AudioPlayer.play() method does not end when AudioPlayer.stop() is called.
AudioPlayer.playerState: playing=false,processingState=ProcessingState.loading
AudioPlayer.playerState: playing=false,processingState=ProcessingState.ready
AudioPlayer.play() call
AudioPlayer.playerState: playing=true,processingState=ProcessingState.ready
AudioPlayer.stop() call
AudioPlayer.stop() completed
AudioPlayer.playerState: playing=false,processingState=ProcessingState.ready
AudioPlayer.play() completed # This is not being called on IOS.
AudioPlayer.playerState: playing=false,processingState=ProcessingState.idle
Expected behavior
The behavior should be similar to Android, wherein the AudioPlayer.play() method should end whenever AudioPlayer.stop() is called.
Smartphone:
Device: iPhone 13 mini
OS: 17.5.1
Device: Google Pixel 8
OS: 14
Flutter SDK version
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-arm64, locale en-PH)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.91.1)
[✓] Connected device (5 available)
! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the
same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• No issues found!
The text was updated successfully, but these errors were encountered:
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?
On IOS, awaiting the
AudioPlayer.play()
method does not end whenAudioPlayer.stop()
is called.Minimal reproduction project
https://github.com/DominicOrga/bug_report_just_audio
To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:
Play audio
button and wait for the audio to start playing.Stop audio
button.AudioPlayer.play() completed
logs is not being printed on IOS.IOS Logs:
Android Logs:
Expected behavior
The behavior should be similar to Android, wherein the
AudioPlayer.play()
method should end wheneverAudioPlayer.stop()
is called.Smartphone:
Device: iPhone 13 mini
OS: 17.5.1
Device: Google Pixel 8
OS: 14
Flutter SDK version
The text was updated successfully, but these errors were encountered: