Browse Source

修改视频刷新周期

wangqin
王钦 10 months ago
parent
commit
77d91e98c9
  1. 5
      ruoyi-ui/src/views/JiHeExpressway/components/Video2/videoStream.js

5
ruoyi-ui/src/views/JiHeExpressway/components/Video2/videoStream.js

@ -169,7 +169,10 @@ export class HttpLivePlayer {
Message.warning( Message.warning(
`视频流加载失败, ${ErrorTypesCn[errorType] || "其他错误"}` `视频流加载失败, ${ErrorTypesCn[errorType] || "其他错误"}`
); );
this.initLiveVideo(); let self = this;
setTimeout(() => {
self.initLiveVideo();
}, 300000);
}); });
// 视频断流 // 视频断流

Loading…
Cancel
Save