We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
接口不稳定原因,时好时坏,整个控制台这类请求报错特别多 ` [IOController] > Loader error, code = -1, msg = Failed to fetch [TransmuxingController] > IOException: type = Exception, code = -1, msg = Failed to fetch
ERROR Error: Uncaught (in promise): Error: Uncaught, unspecified "error" event. (NetworkError) Error: Uncaught, unspecified "error" event. (NetworkError) `
难道是我的使用方式不对? flvjs.LoggingControl.enableError = false;
flvjs.LoggingControl.enableError = false;
The text was updated successfully, but these errors were encountered:
监听 FlvPlayer 实例的 PlayerEvents.ERROR 事件回调就不会有 Error: Uncaught, unspecified "error" event. (NetworkError) 的提示了。
Error: Uncaught, unspecified "error" event. (NetworkError)
Failed to fetch 的提示在 flvjs.LoggingControl.enableError = false 之后不会再有
flvjs.LoggingControl.enableError = false
Sorry, something went wrong.
FlvPlayer 实例的PlayerEvents.ERROR事件 其实就是字符串 error 。具体代码
flvPlayer.on('error', (err) => { if (err === 'NetworkError') { console.log('资源请求出错'); } });
使用这个插件,浏览器可以播放但是控制台又报not Found和跨域的错,怎么回事啊?求解。。。
为什么会出现这个报错呢
No branches or pull requests
接口不稳定原因,时好时坏,整个控制台这类请求报错特别多
`
[IOController] > Loader error, code = -1, msg = Failed to fetch
[TransmuxingController] > IOException: type = Exception, code = -1, msg = Failed to fetch
ERROR Error: Uncaught (in promise): Error: Uncaught, unspecified "error" event. (NetworkError)
Error: Uncaught, unspecified "error" event. (NetworkError)
`
难道是我的使用方式不对?
flvjs.LoggingControl.enableError = false;
The text was updated successfully, but these errors were encountered: