Flutter-AssetsAudioPlayer icon indicating copy to clipboard operation
Flutter-AssetsAudioPlayer copied to clipboard

The requested URL was not found on this server., null)

Open vishalvishvakarma1111 opened this issue 2 years ago • 1 comments

I need to play audio from device gallery i am able to do this with your plugin but when i play it several time it says
issue is on ios device only(my iPhone is iphone8 (os version 15.6.1) ) "--------->. The requested URL was not found on this server., null). <----------" Step to reproduce

  1. Open audio select screen select audio and play it
  2. Back to previos screen . While performing this steps multiple time at one place it giving this error
    i using a simple code

` void playAudio(){ final assetsAudioPlayer = AssetsAudioPlayer(); assetsAudioPlayer.open( Audio.file(audioUrl ?? ''), ); }

@override void dispose() { assetsAudioPlayer.pause(); assetsAudioPlayer.dispose(); super.dispose(); }

`

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.10.0, on macOS 12.4 21F79 darwin-x64, locale en-IN) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 13.2.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] Connected device (2 available) [✓] HTTP Host Availability

vishalvishvakarma1111 avatar Sep 02 '22 11:09 vishalvishvakarma1111

same issue, did you find any solution to this

Sanam-Gurung avatar Sep 20 '22 01:09 Sanam-Gurung