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

This commit is contained in:
robertpin 2021-11-16 16:27:23 +02:00 committed by Дамян Минков
parent c82cead5ae
commit 1e706db114
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {