From 77d91e98c9ce7e91302f8df831cbfeb2671ed0b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=92=A6?= <360013221@qq.com> Date: Tue, 16 Apr 2024 15:10:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=86=E9=A2=91=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E5=91=A8=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/JiHeExpressway/components/Video2/videoStream.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Video2/videoStream.js b/ruoyi-ui/src/views/JiHeExpressway/components/Video2/videoStream.js index eb1ff20e..4584c73e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Video2/videoStream.js +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Video2/videoStream.js @@ -169,7 +169,10 @@ export class HttpLivePlayer { Message.warning( `视频流加载失败, ${ErrorTypesCn[errorType] || "其他错误"}` ); - this.initLiveVideo(); + let self = this; + setTimeout(() => { + self.initLiveVideo(); + }, 300000); }); // 视频断流