From 8220af6b68b1552b2e4c7b938113d1cf6b0c0059 Mon Sep 17 00:00:00 2001 From: 15683799673 Date: Fri, 29 Aug 2025 22:50:31 +0800 Subject: [PATCH] =?UTF-8?q?http-flv=E5=8D=8F=E8=AE=AE=E6=94=B9=E4=B8=BAws-?= =?UTF-8?q?flv=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/sis/acAdmin/index.vue | 2 +- apps/web-antd/src/views/sis/video/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web-antd/src/views/sis/acAdmin/index.vue b/apps/web-antd/src/views/sis/acAdmin/index.vue index 135aae00..96d7d07c 100644 --- a/apps/web-antd/src/views/sis/acAdmin/index.vue +++ b/apps/web-antd/src/views/sis/acAdmin/index.vue @@ -180,7 +180,7 @@ function doPlayer(nodeData: any, index: number = 0) { if (mpegts.isSupported()) { streamProxy(nodeData, (res: AddStreamProxyResult) => { const host = window.location.host; - const url = `http://${host}/${res.app}/${res.streamId}.live.flv`; + const url = `ws://${host}/${res.app}/${res.streamId}.live.flv`; // 将url 绑定到 nodeData nodeData.url = url; closePlayer(index); diff --git a/apps/web-antd/src/views/sis/video/index.vue b/apps/web-antd/src/views/sis/video/index.vue index 950723b5..57206b85 100644 --- a/apps/web-antd/src/views/sis/video/index.vue +++ b/apps/web-antd/src/views/sis/video/index.vue @@ -308,7 +308,7 @@ function doPlayer(nodeData: any, index: number = 0) { if (mpegts.isSupported()) { streamProxy(nodeData, (res: AddStreamProxyResult) => { const host = window.location.host; - const url = `http://${host}/${res.app}/${res.streamId}.live.flv`; + const url = `ws://${host}/${res.app}/${res.streamId}.live.flv`; // 将url 绑定到 nodeData nodeData.url = url; closePlayer(index);