Add 'v' shortcut
This commit is contained in:
		
					parent
					
						
							
								67b97e63ca
							
						
					
				
			
			
				commit
				
					
						d09c3d8374
					
				
			
		
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -417,12 +417,13 @@ export function useGroupCall(groupCall: GroupCall): UseGroupCallReturnType {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (event.key === "m") {
 | 
					        if (event.key === "m") {
 | 
				
			||||||
          toggleMicrophoneMuted();
 | 
					          toggleMicrophoneMuted();
 | 
				
			||||||
        }
 | 
					        } else if (event.key == "v") {
 | 
				
			||||||
        if (event.key === " ") {
 | 
					          toggleLocalVideoMuted();
 | 
				
			||||||
 | 
					        } else if (event.key === " ") {
 | 
				
			||||||
          setMicrophoneMuted(false);
 | 
					          setMicrophoneMuted(false);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      [toggleMicrophoneMuted, setMicrophoneMuted]
 | 
					      [toggleLocalVideoMuted, toggleMicrophoneMuted, setMicrophoneMuted]
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
  );
 | 
					  );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue