web_src/src/components/gb28181/devicePlayer.vue
@@ -122,7 +122,6 @@ methods: { play: function(streamInfo, deviceId, channelId, hasAudio) { console.log(hasAudio); this.hasaudio = hasAudio; // 根据媒体流信息二次判断 if( this.hasaudio && !!streamInfo.tracks && streamInfo.tracks.length > 0) { @@ -134,8 +133,6 @@ } this.hasaudio = realHasAudio && this.hasaudio; } console.log("111") console.log(this.hasaudio) this.ssrc = streamInfo.ssrc; this.deviceId = deviceId; this.channelId = channelId;