fix(av-moderation) Don't stop local screensharing on mute all
This commit is contained in:
parent
c82cead5ae
commit
1e706db114
|
@ -103,7 +103,7 @@ export function muteAllParticipants(exclude: Array<string>, mediaType: MEDIA_TYP
|
||||||
const localId = getLocalParticipant(state).id;
|
const localId = getLocalParticipant(state).id;
|
||||||
|
|
||||||
if (!exclude.includes(localId)) {
|
if (!exclude.includes(localId)) {
|
||||||
dispatch(muteLocal(true, mediaType, true));
|
dispatch(muteLocal(true, mediaType, mediaType !== MEDIA_TYPE.AUDIO));
|
||||||
}
|
}
|
||||||
|
|
||||||
getRemoteParticipants(state).forEach((p, id) => {
|
getRemoteParticipants(state).forEach((p, id) => {
|
||||||
|
|
Loading…
Reference in New Issue