Commit 51a91d94e55c701c3b32e32596a029f6f3bf2559
1 parent
5ab43285
使音频开关关闭生效
Showing
1 changed file
with
1 additions
and
1 deletions
web_src/src/components/gb28181/devicePlayer.vue
| @@ -127,7 +127,7 @@ export default { | @@ -127,7 +127,7 @@ export default { | ||
| 127 | realHasAudio = true; | 127 | realHasAudio = true; |
| 128 | } | 128 | } |
| 129 | } | 129 | } |
| 130 | - this.hasaudio = realHasAudio; //&& this.hasaudio; | 130 | + this.hasaudio = realHasAudio && this.hasaudio; |
| 131 | } | 131 | } |
| 132 | this.ssrc = streamInfo.ssrc; | 132 | this.ssrc = streamInfo.ssrc; |
| 133 | this.deviceId = deviceId; | 133 | this.deviceId = deviceId; |