From 78931d4f0df45eba8bcb8c582b14f00a6a1b9687 Mon Sep 17 00:00:00 2001 From: mishraditi Date: Fri, 13 Mar 2026 19:55:22 +0530 Subject: [PATCH] fix(settings) Fixes missing previews after device permissions are granted. --- .../components/VideoDeviceSelection.web.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/react/features/device-selection/components/VideoDeviceSelection.web.tsx b/react/features/device-selection/components/VideoDeviceSelection.web.tsx index 8eb9198d64..2951b48292 100644 --- a/react/features/device-selection/components/VideoDeviceSelection.web.tsx +++ b/react/features/device-selection/components/VideoDeviceSelection.web.tsx @@ -194,6 +194,13 @@ class VideoDeviceSelection extends AbstractDialogTab { !== this.props.selectedVideoInputId) { this._createVideoInputTrack(this.props.selectedVideoInputId); } + + if (!prevProps.hasVideoPermission && this.props.hasVideoPermission) { + this._createVideoInputTrack(this.props.selectedVideoInputId) + ?.then(() => { + this.props.dispatch(getAvailableDevices()); + }); + } } /**