Commit 6d2291a569a615468ed799e10858b2f24887b1eb

Authored by 648540858
1 parent a42dda2b

切换使用rtc播放器

web_src/src/components/dialog/devicePlayer.vue
@@ -179,10 +179,10 @@ @@ -179,10 +179,10 @@
179 </template> 179 </template>
180 180
181 <script> 181 <script>
182 -// import player from '../dialog/rtcPlayer.vue' 182 +import player from '../dialog/rtcPlayer.vue'
183 // import LivePlayer from '@liveqing/liveplayer' 183 // import LivePlayer from '@liveqing/liveplayer'
184 // import player from '../dialog/easyPlayer.vue' 184 // import player from '../dialog/easyPlayer.vue'
185 -import player from '../dialog/jessibuca.vue' 185 +// import player from '../dialog/jessibuca.vue'
186 export default { 186 export default {
187 name: 'devicePlayer', 187 name: 'devicePlayer',
188 props: {}, 188 props: {},
@@ -305,8 +305,8 @@ export default { @@ -305,8 +305,8 @@ export default {
305 play: function (streamInfo, hasAudio) { 305 play: function (streamInfo, hasAudio) {
306 this.hasAudio = hasAudio; 306 this.hasAudio = hasAudio;
307 this.isLoging = false; 307 this.isLoging = false;
308 - // this.videoUrl = streamInfo.rtc;  
309 - this.videoUrl = this.getUrlByStreamInfo(streamInfo); 308 + this.videoUrl = streamInfo.rtc;
  309 + // this.videoUrl = this.getUrlByStreamInfo(streamInfo);
310 this.streamId = streamInfo.streamId; 310 this.streamId = streamInfo.streamId;
311 this.app = streamInfo.app; 311 this.app = streamInfo.app;
312 this.mediaServerId = streamInfo.mediaServerId; 312 this.mediaServerId = streamInfo.mediaServerId;