You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanna write own logic about level switching when level error..
(+1 of current level, then -1 of current level, if error.. and so on)
What have you tried so far?
I setted levelLoadingMaxRetry to 0 and catched error.. In callback i used nextLevel from my logic, but it works not correctly (
I found switching logic in level-controller, but there is no api methods to modify this logic..
The text was updated successfully, but these errors were encountered:
I found switching logic in level-controller, but there is no api methods to modify this logic..
That is correct. I am in the process of moving this into a new error handling controller as part of #5191. If interested, a config option to replace the default ErrorController class could be added, similar to the other controller class options.
I setted levelLoadingMaxRetry to 0 and catched error.. In callback i used nextLevel from my logic, but it works not correctly
Please describe how it did not work (sample error, error event handler, and steps to reproduce.
Depending on the type of error it may not be recoverable. The level switching in level-controller sets hls.nextLoadLevel, so you must set hls.nextLoadLevel before hls.nextLevel in your callback to override the default behavior.
What do you want to do with Hls.js?
I wanna write own logic about level switching when level error..
(+1 of current level, then -1 of current level, if error.. and so on)
What have you tried so far?
I setted levelLoadingMaxRetry to 0 and catched error.. In callback i used nextLevel from my logic, but it works not correctly (
I found switching logic in level-controller, but there is no api methods to modify this logic..
The text was updated successfully, but these errors were encountered: