From 20082441ef5f6d62b93d572cc5dfebb3616bea9a Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 24 十一月 2021 15:09:43 +0800 Subject: [PATCH] 拉流代理接口添加无人观看则自动移除参数,拉流代理返回值增加流地址信息 --- web_src/src/components/dialog/devicePlayer.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/web_src/src/components/dialog/devicePlayer.vue b/web_src/src/components/dialog/devicePlayer.vue index 60cd600..42dcfc4 100644 --- a/web_src/src/components/dialog/devicePlayer.vue +++ b/web_src/src/components/dialog/devicePlayer.vue @@ -287,11 +287,13 @@ // return `http://${baseZlmApi}/${streamInfo.app}/${streamInfo.streamId}.flv`; if (location.protocol === "https:") { if (streamInfo.wss_flv === null) { - this.$message({ - showClose: true, - message: '濯掍綋鏈嶅姟鍣ㄦ湭閰嶇疆ssl绔彛', - type: 'error' - }); + console.error("濯掍綋鏈嶅姟鍣ㄦ湭閰嶇疆ssl绔彛, 浣跨敤http绔彛") + // this.$message({ + // showClose: true, + // message: '濯掍綋鏈嶅姟鍣ㄦ湭閰嶇疆ssl绔彛, ', + // type: 'error' + // }); + return streamInfo.ws_flv }else { return streamInfo.wss_flv; } -- Gitblit v1.8.0