fix(av-moderation) Stop screensharing and video on moderation start
When video moderation starts, stop screensharing and ignore if video was on when sharing started
This commit is contained in:
parent
823cab3851
commit
57083c174f
|
@ -179,7 +179,7 @@ MiddlewareRegistry.register(store => next => action => {
|
||||||
} else if (jitsiTrack.isLocal() && !(jitsiTrack.videoType === VIDEO_TYPE.DESKTOP)) {
|
} else if (jitsiTrack.isLocal() && !(jitsiTrack.videoType === VIDEO_TYPE.DESKTOP)) {
|
||||||
APP.conference.setVideoMuteStatus();
|
APP.conference.setVideoMuteStatus();
|
||||||
} else if (jitsiTrack.isLocal() && muted && jitsiTrack.videoType === VIDEO_TYPE.DESKTOP) {
|
} else if (jitsiTrack.isLocal() && muted && jitsiTrack.videoType === VIDEO_TYPE.DESKTOP) {
|
||||||
store.dispatch(toggleScreensharing(false));
|
store.dispatch(toggleScreensharing(false, false, true));
|
||||||
} else {
|
} else {
|
||||||
APP.UI.setVideoMuted(participantID);
|
APP.UI.setVideoMuted(participantID);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue