Don't change mute state while in the lobby

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2023-07-25 13:40:22 +02:00
parent 71311efc7e
commit a6f803a091
4 changed files with 11 additions and 13 deletions

View File

@@ -229,6 +229,8 @@ export function GroupCallView({
groupCall.enter();
}, [groupCall]);
console.log("LOG participant size", participants.size);
if (error) {
return <ErrorView error={error} />;
} else if (state === GroupCallState.Entered && userChoices) {
@@ -293,7 +295,7 @@ export function GroupCallView({
setUserChoices(choices);
enter();
}}
muteAudio={participants.size > 8}
initWithMutedAudio={participants.size > 0}
isEmbedded={isEmbedded}
hideHeader={hideHeader}
/>