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 device selection not applying during conference

Michel-Marie MAUDET1bd5a294e40d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 641c535f..9955988f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,7 @@ and this project adheres to
- πŸ›(frontend) disable personal custom background while deleting #1183
- πŸ›(frontend) auto-select new custom background when not logged in #1183
+- πŸ›(frontend) fix device selection not applying during conference #1156
## [1.11.0] - 2026-03-19
diff --git a/src/frontend/src/features/rooms/livekit/components/controls/Device/SelectDevice.tsx b/src/frontend/src/features/rooms/livekit/components/controls/Device/SelectDevice.tsx
index 6dcbea59..c5ac2b1b 100644
--- a/src/frontend/src/features/rooms/livekit/components/controls/Device/SelectDevice.tsx
+++ b/src/frontend/src/features/rooms/livekit/components/controls/Device/SelectDevice.tsx
@@ -69,10 +69,10 @@ const SelectDevicePermissions = <T extends string | number>({
iconComponent={iconComponent}
placeholder={items.length === 0 ? t('loading') : t('select')}
selectedKey={selectedKey}
- onSelectionChange={(key) => {
+ onSelectionChange={async (key) => {
if (key === selectedKey) return
+ await setActiveMediaDevice(key as string)
onSubmit?.(key as string)
- setActiveMediaDevice(key as string)
}}
{...props}
/>