Skip to content
Snippets Groups Projects
Commit 12492473 authored by Richard Alam's avatar Richard Alam
Browse files

- if muted user is talking, mute the user

parent 27d9879c
No related branches found
No related tags found
No related merge requests found
......@@ -94,12 +94,21 @@ object VoiceApp {
for {
mutedUser <- VoiceUsers.userMuted(liveMeeting.voiceUsers, voiceUserId, muted)
} yield {
broadcastUserMutedVoiceEvtMsg(
liveMeeting.props.meetingProp.intId,
mutedUser,
liveMeeting.props.voiceProp.voiceConf,
outGW
)
if (!muted && mutedUser.listenOnly) {
// Make sure listen only users cannot talk (ralam dec 6, 2019)
LockSettingsUtil.enforceListenOnlyUserIsMuted(
mutedUser.intId,
liveMeeting,
outGW
)
} else {
broadcastUserMutedVoiceEvtMsg(
liveMeeting.props.meetingProp.intId,
mutedUser,
liveMeeting.props.voiceProp.voiceConf,
outGW
)
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment