-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot catch error of preparePlayer #301
Comments
yes i faced same thing while controller.preparePlayer. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When an error is thrown by
controller.preparePlayer
, it cannot be caught. Experiencing this on Android, have not tested on iOS.For example, when trying to play a file in an invalid format on Android, the console shows the error:
However, a try/catch block or
catchError
does not fire, and the code is blocked without further execution.To Reproduce
Steps to reproduce the behavior:
controller.preparePlayer
using an invalid filecatchError
or try/catch block.Expected behavior
Catch should catch any player errors and continue code execution.
The text was updated successfully, but these errors were encountered: