Commit cb3517b6 authored by 李纪文's avatar 李纪文

fix: 修改视频掉线重连问题

parent 07995e35
......@@ -52,10 +52,12 @@ class App extends React.Component {
loadingTimeout: 10,
loadingText: '视频加载中',
loadingTimeoutReplay: true,
loadingTimeoutReplayTimes: -1,
timeout: 10,
controlAutoHide: true,
heartTimeout: 10,
heartTimeoutReplay: true,
heartTimeoutReplayTimes: -1,
showBandwidth: true, // 显示网速
operateBtns: {
fullscreen: true,
......@@ -73,6 +75,9 @@ class App extends React.Component {
};
if (dom) {
this.jessibuca = new window.Jessibuca(jsc);
this.jessibuca.on("loadingTimeout", function () {
console.log('timeout')
})
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment