diff --git a/react/features/base/tracks/middleware.js b/react/features/base/tracks/middleware.js index cf8f2380b..3492ce316 100644 --- a/react/features/base/tracks/middleware.js +++ b/react/features/base/tracks/middleware.js @@ -153,12 +153,10 @@ MiddlewareRegistry.register(store => next => action => { const isVideoTrack = jitsiTrack.type !== MEDIA_TYPE.AUDIO; if (isVideoTrack) { + // Do not change the video mute state for local presenter tracks. if (jitsiTrack.type === MEDIA_TYPE.PRESENTER) { APP.conference.mutePresenter(muted); - } - - // Make sure we change the video mute state only for camera tracks. - if (jitsiTrack.isLocal() && jitsiTrack.videoType !== 'desktop') { + } else if (jitsiTrack.isLocal()) { APP.conference.setVideoMuteStatus(muted); } else { APP.UI.setVideoMuted(participantID, muted);