Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(av-moderation) Don't stop local screensharing on mute all

robertpin1e706db11400
diff --git a/react/features/video-menu/actions.any.js b/react/features/video-menu/actions.any.js
index c63e919f5e..45e5959e6e 100644
--- a/react/features/video-menu/actions.any.js
+++ b/react/features/video-menu/actions.any.js
@@ -103,7 +103,7 @@ export function muteAllParticipants(exclude: Array<string>, mediaType: MEDIA_TYP
const localId = getLocalParticipant(state).id;
if (!exclude.includes(localId)) {
- dispatch(muteLocal(true, mediaType, true));
+ dispatch(muteLocal(true, mediaType, mediaType !== MEDIA_TYPE.AUDIO));
}
getRemoteParticipants(state).forEach((p, id) => {