Open jainsanil18 opened 2 years ago
Is that your own HLS file and are you in control of the hosting? If so, I suggest you fix the 403 error since that originates from the server, not from this plugin. If you intentionally modified your server to produce the error because you wanted to show how just_audio fails to report errors in a try/catch, I suggest that you listen to errors on the stream since the error occurs asynchronously. The first TS in your HLS playlist is readable, but the last TS file gives a 403.
Is this issue fixed? I'm also facing the same issue.
It's not like anything has been kept secret, please read all the comments above before adding your own comment so that you are informed of where the issue is up to. Then if you do want to add a comment, you can continue from what we were just talking about (i.e. whether this is a server issue) rather than pretending not to know anything about what we have discussed so far.
Which API doesn't behave as documented, and how does it misbehave? HlsAudioSource , im using it to play it to play my hls audios but after completely playing an hls audio , the player throws an exoplayback exception which is not captured in try and catch and the player freezes. Minimal reproduction project Provide a link here using one of two options: the example
To Reproduce (i.e. user steps, not code) Steps to reproduce the behavior:
Error messages
Expected behavior instead of throwing the above error,player should have simply changed its processing state to completed since the hls audio has been played completely and player shouldnot freeze if tried to seek to a position in the audio.
Smartphone (please complete the following information):
Flutter SDK version