From 6d2291a569a615468ed799e10858b2f24887b1eb Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期六, 26 二月 2022 07:49:44 +0800
Subject: [PATCH] 切换使用rtc播放器
---
web_src/src/components/dialog/devicePlayer.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/web_src/src/components/dialog/devicePlayer.vue b/web_src/src/components/dialog/devicePlayer.vue
index 74c14c8..a98656a 100644
--- a/web_src/src/components/dialog/devicePlayer.vue
+++ b/web_src/src/components/dialog/devicePlayer.vue
@@ -179,10 +179,10 @@
</template>
<script>
-// import player from '../dialog/rtcPlayer.vue'
+import player from '../dialog/rtcPlayer.vue'
// import LivePlayer from '@liveqing/liveplayer'
// import player from '../dialog/easyPlayer.vue'
-import player from '../dialog/jessibuca.vue'
+// import player from '../dialog/jessibuca.vue'
export default {
name: 'devicePlayer',
props: {},
@@ -305,8 +305,8 @@
play: function (streamInfo, hasAudio) {
this.hasAudio = hasAudio;
this.isLoging = false;
- // this.videoUrl = streamInfo.rtc;
- this.videoUrl = this.getUrlByStreamInfo(streamInfo);
+ this.videoUrl = streamInfo.rtc;
+ // this.videoUrl = this.getUrlByStreamInfo(streamInfo);
this.streamId = streamInfo.streamId;
this.app = streamInfo.app;
this.mediaServerId = streamInfo.mediaServerId;
--
Gitblit v1.8.0