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
Set fragLoadingMaxRetryTimeout in the configuration to a smaller number, like 5.
Have a missing/bad fragment about 30 or 40 seconds into some media.
Begin playback and note when it hits the point of the bad fragment, it can take much longer than a max of 5 seconds to throw the fatal error you'd expect.
You can also just set logging to debug and note the warnings, such as:
[warn] > mediaController: frag loading failed, retry in 16000 ms
Steps to reproduce
Set fragLoadingMaxRetryTimeout in the configuration to a smaller number, like 5.
Have a missing/bad fragment about 30 or 40 seconds into some media.
Begin playback and note when it hits the point of the bad fragment, it can take much longer than a max of 5 seconds to throw the fatal error you'd expect.
You can also just set logging to debug and note the warnings, such as:
Here's a page with the timeout set to 5000. Note the logs.
http://www.theplatcal.com/hlsjs_bug/samples/jg/bad_frag_midroll.html
Expected behavior
I'd expect failure within 5 seconds.
Actual behavior
Depending on the retry cycle, it could take up to 16, 32 or 64 seconds for a fatal error.
This change applies the config value:
jeremygio@50234ad
The text was updated successfully, but these errors were encountered: