From ad9dd0ac4fec011691d2a7ba58342f6cacd00ab3 Mon Sep 17 00:00:00 2001 From: Rain_ <904416525@qq.com> Date: Mon, 29 Sep 2025 15:06:32 +0800 Subject: [PATCH] =?UTF-8?q?flx:=E4=BF=AE=E6=94=B9=E7=9B=91=E6=8E=A7?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/videoModule/isc_plugin/isc_plugin_h5.vue | 2 +- .../replayVideoManage/components/playBack/isc_plugin_h5.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/videoModule/isc_plugin/isc_plugin_h5.vue b/src/components/videoModule/isc_plugin/isc_plugin_h5.vue index 327a8c86..bc5e1ed8 100644 --- a/src/components/videoModule/isc_plugin/isc_plugin_h5.vue +++ b/src/components/videoModule/isc_plugin/isc_plugin_h5.vue @@ -510,7 +510,7 @@ export default { cameraIndexCode: tempCode, streamType: row.defaultStreamType == 2 ? 0 : row.defaultStreamType, - type: "ws", + type: window.location.protocol.includes("https") ? "wss" : "ws", transmode: 1, itemId: row.itemId, }; diff --git a/src/views/projectFront/replayVideoManage/components/playBack/isc_plugin_h5.vue b/src/views/projectFront/replayVideoManage/components/playBack/isc_plugin_h5.vue index ca76cba7..71854158 100644 --- a/src/views/projectFront/replayVideoManage/components/playBack/isc_plugin_h5.vue +++ b/src/views/projectFront/replayVideoManage/components/playBack/isc_plugin_h5.vue @@ -736,7 +736,7 @@ export default { // itemId: row.itemId, serialNumber: row.serialNumber, projectSn: row.projectSn, - protocol: "ws", + protocol: window.location.protocol.includes("https") ? "wss" : "ws", beginTime: this.startTime, endTime: this.endTime,