Checklist
Current bug behaviour
When calling audioPlayer.setSourceUrl(url), it throws an exception PlatformException(DarwinAudioError, Failed to set source. For troubleshooting, see https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, AVPlayerItem.Status.failed on setSourceUrl, null) on iOS (it throws a different error with the same description on Android as well).
Expected behaviour
audioPlayer.setSourceUrl(url) completes without throwing an error.
Code sample
Code sample
Future<void> main() async {
final audioPlayer = AudioPlayer();
await audioPlayer.setSourceUrl('https://firebasestorage.googleapis.com/v0/b/obedience-app.appspot.com/o/audio%2F5e31ff82-e6fc-4837-87e3-aadd4b238c08.mp4?alt=media&token=8b849da9-9a92-4378-88b8-19fea933ed44');
}
Affected platforms
Android, iOS
AudioPlayers Version
5.2.0
Build mode
debug, release
Audio Files/URLs/Sources
https://firebasestorage.googleapis.com/v0/b/obedience-app.appspot.com/o/audio%2F5e31ff82-e6fc-4837-87e3-aadd4b238c08.mp4?alt=media&token=8b849da9-9a92-4378-88b8-19fea933ed44
Related issues / more information
The exact same code and the same URL are working when I'm using version 5.1.0, the bug only occurs on 5.2.0.
Checklist
Current bug behaviour
When calling
audioPlayer.setSourceUrl(url), it throws an exceptionPlatformException(DarwinAudioError, Failed to set source. For troubleshooting, see https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, AVPlayerItem.Status.failed on setSourceUrl, null)on iOS (it throws a different error with the same description on Android as well).Expected behaviour
audioPlayer.setSourceUrl(url)completes without throwing an error.Code sample
Code sample
Affected platforms
Android, iOS
AudioPlayers Version
5.2.0
Build mode
debug, release
Audio Files/URLs/Sources
https://firebasestorage.googleapis.com/v0/b/obedience-app.appspot.com/o/audio%2F5e31ff82-e6fc-4837-87e3-aadd4b238c08.mp4?alt=media&token=8b849da9-9a92-4378-88b8-19fea933ed44
Related issues / more information
The exact same code and the same URL are working when I'm using version 5.1.0, the bug only occurs on 5.2.0.