ソースを参照

fix(AudioMuteButton): ensure track on unmute

If "startWithAudioMuted" option is used we need to make sure that new
local audio track will be created on unmute.
master
paweldomas 7年前
コミット
380909371f
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      react/features/toolbox/components/AudioMuteButton.js

+ 1
- 1
react/features/toolbox/components/AudioMuteButton.js ファイルの表示

@@ -121,7 +121,7 @@ class AudioMuteButton extends AbstractAudioMuteButton<Props, *> {
121 121
      */
122 122
     _setAudioMuted(audioMuted: boolean) {
123 123
         sendAnalytics(createToolbarEvent(AUDIO_MUTE, { enable: audioMuted }));
124
-        this.props.dispatch(setAudioMuted(audioMuted));
124
+        this.props.dispatch(setAudioMuted(audioMuted, /* ensureTrack */ true));
125 125
 
126 126
         // FIXME: The old conference logic as well as the shared video feature
127 127
         // still rely on this event being emitted.

読み込み中…
キャンセル
保存