-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Improve HLS error details #627
Comments
More info on the data object here: https://github.com/video-dev/hls.js/blob/master/docs/API.md#fifth-step-error-handling You also get given the HLS instance and the HLS global, for things like if (data.details === Hls.ErrorDetails.FRAG_LOAD_ERROR) {
// ...
} |
@cookpete I was using v1.5.0 and catching hlsErrors just fine but then I upgrade to latest (v1.11.0) I am getting undefined for all 3 params that you mention in your previous post. So Edit: I just tried different versions and from v1.10 up I get no errors, v1.9.0 reports hlsErrors fine. |
Current Behavior
HLS errors logged by the ReactPlayer are just the string "hlsError"
Expected Behavior
HLS errors logged by the ReactPlayer are more verbose, describing the nature of the error to allow for better troubleshooting
Steps to Reproduce
onError={e => console.log(e)}
The text was updated successfully, but these errors were encountered: