From 189b6044b4f49b43c83ebadeebf0e41457bfb518 Mon Sep 17 00:00:00 2001 From: xiaoQQya <xiaoQQya@126.com> Date: 星期六, 05 十一月 2022 11:46:39 +0800 Subject: [PATCH] fix(devicePlayer): 修复设备视频播放页 HTTPS 环境下 WebRTC 无法播放的问题 --- web_src/src/components/live.vue | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/web_src/src/components/live.vue b/web_src/src/components/live.vue index 1f2d6ca..c2c09f4 100644 --- a/web_src/src/components/live.vue +++ b/web_src/src/components/live.vue @@ -137,10 +137,7 @@ method: 'get', url: '/api/play/start/' + deviceId + '/' + channelId }).then(function (res) { - // that.isLoging = false; - console.log('=====----=====') - console.log(res) - if (res.data.code == 0 && res.data.data) { + if (res.data.code === 0 && res.data.data) { itemData.playUrl = res.data.data.httpsFlv that.setPlayUrl(res.data.data.ws_flv, idxTmp) } else { -- Gitblit v1.8.0