Stop camera/screen video when muted by admin.

This commit is contained in:
John Preston 2021-06-03 12:33:55 +04:00
parent 68ae40ee56
commit 482ad74c57

View file

@ -1527,8 +1527,8 @@ void GroupCall::setMuted(MuteState mute) {
applyMeInCallLocally();
}
if (mutedByAdmin()) {
//toggleVideo(false);
//toggleScreenSharing(std::nullopt);
toggleVideo(false);
toggleScreenSharing(std::nullopt);
}
};
if (mute == MuteState::Active || mute == MuteState::PushToTalk) {