Stop camera/screen video when muted by admin.
This commit is contained in:
		
							parent
							
								
									68ae40ee56
								
							
						
					
					
						commit
						482ad74c57
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue