|
|
@@ -153,12 +153,10 @@ MiddlewareRegistry.register(store => next => action => {
|
|
153
|
153
|
const isVideoTrack = jitsiTrack.type !== MEDIA_TYPE.AUDIO;
|
|
154
|
154
|
|
|
155
|
155
|
if (isVideoTrack) {
|
|
|
156
|
+ // Do not change the video mute state for local presenter tracks.
|
|
156
|
157
|
if (jitsiTrack.type === MEDIA_TYPE.PRESENTER) {
|
|
157
|
158
|
APP.conference.mutePresenter(muted);
|
|
158
|
|
- }
|
|
159
|
|
-
|
|
160
|
|
- // Make sure we change the video mute state only for camera tracks.
|
|
161
|
|
- if (jitsiTrack.isLocal() && jitsiTrack.videoType !== 'desktop') {
|
|
|
159
|
+ } else if (jitsiTrack.isLocal()) {
|
|
162
|
160
|
APP.conference.setVideoMuteStatus(muted);
|
|
163
|
161
|
} else {
|
|
164
|
162
|
APP.UI.setVideoMuted(participantID, muted);
|