fix(AudioTrack) fix currentMuted

Co-authored-by: Arun Nadesh <arun.raveendran@hg.ninjavan.co>
pull/13468/head jitsi-meet_8746
arunnadesh 2 years ago committed by GitHub
parent 48e1f443ea
commit 7538bfc713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      react/features/base/media/components/web/AudioTrack.tsx

@ -152,7 +152,7 @@ class AudioTrack extends Component<IProps> {
const currentMuted = this._ref.muted;
const nextMuted = nextProps._muted;
if (typeof nextMuted === 'boolean' && currentMuted !== nextVolume) {
if (typeof nextMuted === 'boolean' && currentMuted !== nextMuted) {
this._ref.muted = nextMuted;
}
}

Loading…
Cancel
Save