ryanheise / just_audio

Audio Player
1.04k stars 664 forks source link

Is the extension ".mp3" at end of url compulsory for iOS devices? #87

Closed RinaldoNani closed 4 years ago

RinaldoNani commented 4 years ago

Looks like there are some issues trying to play urls/streams that have urls ending with ids.

For example, using the code in the demo, setting:

_player.setUrl(
             "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-14.mp3")
 .catchError((error) {
       // catch audio error ex: 404 url, wrong url ...
       print(error);
     });

works perfectly on my iPhone 6 device, while using the (active) url:

_player.setUrl(
            "https://audiostreaming.musicom.it/audio/aria.mp3?id=1580")
 .catchError((error) {
       // catch audio error ex: 404 url, wrong url ...
       print(error);
     });

gives no error, but no sound comes out (the spinning wheel goes on forever). Any ideas?

ryanheise commented 4 years ago

Hi @RinaldoNani , to help me investigate this issue, please fill in every section of the issue template. Thank you.

ryanheise commented 4 years ago

Closing due to inactivity.

github-actions[bot] commented 2 years ago

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.