Explorar el Código

使音频开关关闭生效

Lawrence hace 5 años
padre
commit
51a91d94e5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web_src/src/components/gb28181/devicePlayer.vue

+ 1 - 1
web_src/src/components/gb28181/devicePlayer.vue

@@ -127,7 +127,7 @@ export default {
                         realHasAudio = true;
                         realHasAudio = true;
                     }
                     }
                 }
                 }
-                this.hasaudio = realHasAudio; //&& this.hasaudio;
+                this.hasaudio = realHasAudio && this.hasaudio;
             }
             }
             this.ssrc = streamInfo.ssrc;
             this.ssrc = streamInfo.ssrc;
             this.deviceId = deviceId;
             this.deviceId = deviceId;