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

This commit is contained in:
Jaya Allamsetty 2021-03-18 15:03:28 -04:00 committed by Jaya Allamsetty
parent 8806269af0
commit 5b21051c6b
1 changed files with 1 additions and 1 deletions

View File

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