Commit 6d2291a569a615468ed799e10858b2f24887b1eb

Authored by 648540858
1 parent a42dda2b

切换使用rtc播放器

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