Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(AudioMuteButton): ensure track on unmute

paweldomas380909371faf
diff --git a/react/features/toolbox/components/AudioMuteButton.js b/react/features/toolbox/components/AudioMuteButton.js
index a1b8c6fd38..1e6bf56cdf 100644
--- a/react/features/toolbox/components/AudioMuteButton.js
+++ b/react/features/toolbox/components/AudioMuteButton.js
@@ -121,7 +121,7 @@ class AudioMuteButton extends AbstractAudioMuteButton<Props, *> {
*/
_setAudioMuted(audioMuted: boolean) {
sendAnalytics(createToolbarEvent(AUDIO_MUTE, { enable: audioMuted }));
- this.props.dispatch(setAudioMuted(audioMuted));
+ this.props.dispatch(setAudioMuted(audioMuted, /* ensureTrack */ true));
// FIXME: The old conference logic as well as the shared video feature
// still rely on this event being emitted.