From 37ec631881c51660b0f669add2563905b7d5b55a Mon Sep 17 00:00:00 2001 From: Joe <1712833832@qq.com> Date: Thu, 18 Jan 2024 18:23:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/JiHeExpressway/components/Video/videoStream.js | 2 +- .../pages/Home/components/Dialogs/Camera/Descriptions.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js b/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js index 6c1b7e72..34860792 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Video/videoStream.js @@ -130,7 +130,7 @@ export class HttpLivePlayer { }); // 视频断流 - this.player.on(flvJs.Events.STATISTICS_INFO, function (res) { + this.player.on(flvJs.Events.STATISTICS_INFO, (res) => { if (this.lastDecodedFrames != res.decodedFrames) { this.lastDecodedFrames = res.decodedFrames; } else { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/Descriptions.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/Descriptions.vue index a9445cae..df572c87 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/Descriptions.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/Descriptions.vue @@ -47,6 +47,7 @@