Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🐛(frontend) fix inverted keyboard shortcuts for video and microphone

lebaudantoine4353db4a5f41
diff --git a/src/frontend/src/features/rooms/livekit/hooks/useDeviceShortcut.ts b/src/frontend/src/features/rooms/livekit/hooks/useDeviceShortcut.ts
index 8b05925f..b47ed3f2 100644
--- a/src/frontend/src/features/rooms/livekit/hooks/useDeviceShortcut.ts
+++ b/src/frontend/src/features/rooms/livekit/hooks/useDeviceShortcut.ts
@@ -6,12 +6,12 @@ export const useDeviceShortcut = (kind: MediaDeviceKind) => {
switch (kind) {
case 'audioinput':
return {
- key: 'e',
+ key: 'd',
ctrlKey: true,
}
case 'videoinput':
return {
- key: 'd',
+ key: 'e',
ctrlKey: true,
}
default: