瀏覽代碼

切换使用rtc播放器

648540858 3 年之前
父節點
當前提交
6d2291a569
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      web_src/src/components/dialog/devicePlayer.vue

+ 4 - 4
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 @@ export default {
         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;