fix(breakout-room): avoid muteOnStart at breakout room

Quick fix to prevent the moderator who joins the
breakout room from being unable to unmute himself
This commit is contained in:
Max Franke 2021-06-14 15:31:28 -03:00 committed by Pedro Beschorner Marin
parent 078c2da44f
commit 4757107f6f

View File

@ -555,6 +555,12 @@ public class ParamsProcessorUtil {
muteOnStart = Boolean.parseBoolean(params.get(ApiParams.MUTE_ON_START));
}
// when a moderator joins in a breakout room only with the audio, and the muteOnStart is set to true,
// the moderator is unable to unmute himself, because they don't have an icon to do so
if (isBreakout) {
muteOnStart = false;
}
meeting.setMuteOnStart(muteOnStart);
Boolean meetingKeepEvents = defaultKeepEvents;