集成rtc播放器

This commit is contained in:
panlinlin
2021-04-11 14:44:27 +08:00
parent 2b1e56973e
commit a4ab9a0a6c
7 changed files with 7691 additions and 19 deletions

View File

@@ -136,7 +136,7 @@
</template>
<script>
import player from '../dialog/player.vue'
import player from '../dialog/rtcPlayer.vue'
export default {
name: 'devicePlayer',
props: {},
@@ -250,7 +250,7 @@ export default {
this.hasaudio = hasAudio;
this.isLoging = false;
this.videoUrl = streamInfo.ws_flv;
this.videoUrl = streamInfo.rtc;
this.streamId = streamInfo.streamId;
this.app = streamInfo.app;
this.playFromStreamInfo(false, streamInfo)