Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(devices): device type to settings key mapping for video

Gabriel Borlea0bce8e185de5
diff --git a/react/features/base/devices/actions.web.ts b/react/features/base/devices/actions.web.ts
index 3b4fc5aad9..780c26dbca 100644
--- a/react/features/base/devices/actions.web.ts
+++ b/react/features/base/devices/actions.web.ts
@@ -43,7 +43,7 @@ const DEVICE_TYPE_TO_SETTINGS_KEYS = {
userSelectedDeviceLabel: 'userSelectedAudioOutputDeviceLabel'
},
videoInput: {
- currentDeviceId: 'audioOutputDeviceId',
+ currentDeviceId: 'cameraDeviceId',
userSelectedDeviceId: 'userSelectedCameraDeviceId',
userSelectedDeviceLabel: 'userSelectedCameraDeviceLabel'
}