Closed klinki closed 3 years ago
This is on Android, correct? So not the iOS/headphone problem. Other audio sources work? Did you try with different files and options? Is it Local file mode?
Hello, yes, it is Android. I think I found out what was the problem - playing a remote file with disabled internet connectivity. But I think it should not call onComplete
but rather throw some exception or call onError
.
Agreed, maybe there is an exception being catch somewhere and then the player thinks it's completed, when in reality it should throw an error. If you'd like to take a look and contribute with a PR, it'll be very appreciated! Otherwise I might take a look at this soon-ish :)
Sure, I will have a look and try to come with some PR. Probably this or next weekend, I hope.
Hi guys, did you have success patching this issue? In my case it happens even with working internet. printing " _platformCallHandler call audio.onComplete {value: true, playerId: ef1abaca-5980-4b65-8b3f-0c58a71985b2}" immediately. I don't know if it is the file type(wma), since it is not happening for mp3. I know that it is supported in android. Thank you.
Closing due inactivity
Hello,
I have a problem with audioplayer. It doesn't start playing and calls
onComplete
callback right away.Here is log, if it helps: