From 367ec111e48f9ffc7829cc79369c9c8988114f78 Mon Sep 17 00:00:00 2001 From: 64850858 <648540858@qq.com> Date: 星期三, 14 七月 2021 16:06:31 +0800 Subject: [PATCH] 更新readme --- web_src/src/components/dialog/devicePlayer.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/web_src/src/components/dialog/devicePlayer.vue b/web_src/src/components/dialog/devicePlayer.vue index bc6d3e8..9653833 100644 --- a/web_src/src/components/dialog/devicePlayer.vue +++ b/web_src/src/components/dialog/devicePlayer.vue @@ -151,7 +151,8 @@ <script> // import player from '../dialog/rtcPlayer.vue' // import LivePlayer from '@liveqing/liveplayer' -import player from '../dialog/easyPlayer.vue' +// import player from '../dialog/easyPlayer.vue' +import player from '../dialog/jessibuca.vue' export default { name: 'devicePlayer', props: {}, @@ -280,7 +281,8 @@ console.log(12121212) console.log(baseZlmApi) // return `${baseZlmApi}/${streamInfo.app}/${streamInfo.streamId}.flv`; - return `http://${baseZlmApi}/${streamInfo.app}/${streamInfo.streamId}.flv`; + // return `http://${baseZlmApi}/${streamInfo.app}/${streamInfo.streamId}.flv`; + return streamInfo.ws_flv; }, coverPlay: function () { var that = this; @@ -424,8 +426,9 @@ row.endTime }).then(function (res) { var streamInfo = res.data; + that.app = streamInfo.app; that.streamId = streamInfo.streamId; - that.videoUrl = this.getUrlByStreamInfo(streamInfo); + that.videoUrl = that.getUrlByStreamInfo(streamInfo); that.recordPlay = true; }); } -- Gitblit v1.8.0