Browse Source

fix(startMuted): Fix unmute on mobile when it is muted by Jicofo on join.

master
Jaya Allamsetty 4 years ago
parent
commit
5b21051c6b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      react/features/base/conference/actions.js

+ 1
- 1
react/features/base/conference/actions.js View File

@@ -141,7 +141,7 @@ function _addConferenceListeners(conference, dispatch, state) {
141 141
             for (const track of localTracks) {
142 142
                 if ((audioMuted && track.jitsiTrack.getType() === MEDIA_TYPE.AUDIO)
143 143
                     || (videoMuted && track.jitsiTrack.getType() === MEDIA_TYPE.VIDEO)) {
144
-                    replaceLocalTrack(track.jitsiTrack, null, conference);
144
+                    dispatch(replaceLocalTrack(track.jitsiTrack, null, conference));
145 145
                 }
146 146
             }
147 147
         });

Loading…
Cancel
Save