Open kmod-midori opened 3 years ago
Related to #353
The Android implementation was programmed to automatically skip to the next item on an error, but if there are too many errors (> 5) then it assumes something underlying must be wrong and it aborts making further connections, e.g. to prevent an infinite loop of errors.
This behaviour is not ideal so it is just a matter of choosing a better behaviour and implementing it. To keep the discussions of how to approach this in one place, let's have the discussions on #353 .
Which API doesn't behave as documented, and how does it misbehave?
seek
ing to an invalid item repeatedly crashes the plugin without logsMinimal reproduction project https://github.com/chengyuhui/just_audio/tree/error-flood Just replaced URLs
To Reproduce (i.e. user steps, not code) Steps to reproduce the behavior:
https://127.0.0.1/
)https://127.0.1.1/
)Error messages
This is the last error that the player produces, nothing can be done after this unless the application is restarted.
Expected behavior The plugin should continue to work after that many errors.
Flutter SDK version
Additional context There seems to be similar behavior on iOS according to one of my friends, but I don't personally own an iPhone, so I can't test that out.