Kaynağa Gözat

fix(AudioTrack) fix currentMuted

Co-authored-by: Arun Nadesh <arun.raveendran@hg.ninjavan.co>
factor2
arunnadesh 2 yıl önce
ebeveyn
işleme
7538bfc713
No account linked to committer's email address

+ 1
- 1
react/features/base/media/components/web/AudioTrack.tsx Dosyayı Görüntüle

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

Loading…
İptal
Kaydet