切换使用rtc播放器
parent
a42dda2bd3
commit
6d2291a569
|
@ -179,10 +179,10 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// import player from '../dialog/rtcPlayer.vue'
|
import player from '../dialog/rtcPlayer.vue'
|
||||||
// import LivePlayer from '@liveqing/liveplayer'
|
// import LivePlayer from '@liveqing/liveplayer'
|
||||||
// import player from '../dialog/easyPlayer.vue'
|
// import player from '../dialog/easyPlayer.vue'
|
||||||
import player from '../dialog/jessibuca.vue'
|
// import player from '../dialog/jessibuca.vue'
|
||||||
export default {
|
export default {
|
||||||
name: 'devicePlayer',
|
name: 'devicePlayer',
|
||||||
props: {},
|
props: {},
|
||||||
|
@ -305,8 +305,8 @@ export default {
|
||||||
play: function (streamInfo, hasAudio) {
|
play: function (streamInfo, hasAudio) {
|
||||||
this.hasAudio = hasAudio;
|
this.hasAudio = hasAudio;
|
||||||
this.isLoging = false;
|
this.isLoging = false;
|
||||||
// this.videoUrl = streamInfo.rtc;
|
this.videoUrl = streamInfo.rtc;
|
||||||
this.videoUrl = this.getUrlByStreamInfo(streamInfo);
|
// this.videoUrl = this.getUrlByStreamInfo(streamInfo);
|
||||||
this.streamId = streamInfo.streamId;
|
this.streamId = streamInfo.streamId;
|
||||||
this.app = streamInfo.app;
|
this.app = streamInfo.app;
|
||||||
this.mediaServerId = streamInfo.mediaServerId;
|
this.mediaServerId = streamInfo.mediaServerId;
|
||||||
|
|
Loading…
Reference in New Issue