648540858
2022-02-26 6d2291a569a615468ed799e10858b2f24887b1eb
切换使用rtc播放器
1个文件已修改
8 ■■■■ 已修改文件
web_src/src/components/dialog/devicePlayer.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;