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(); applyMeInCallLocally();
} }
if (mutedByAdmin()) { if (mutedByAdmin()) {
//toggleVideo(false); toggleVideo(false);
//toggleScreenSharing(std::nullopt); toggleScreenSharing(std::nullopt);
} }
}; };
if (mute == MuteState::Active || mute == MuteState::PushToTalk) { if (mute == MuteState::Active || mute == MuteState::PushToTalk) {