diff --git a/src/components/launch/LaunchWindow/helperComponents.tsx b/src/components/launch/LaunchWindow/helperComponents.tsx index 8cb1d434..557ae71f 100644 --- a/src/components/launch/LaunchWindow/helperComponents.tsx +++ b/src/components/launch/LaunchWindow/helperComponents.tsx @@ -73,7 +73,7 @@ export function MicDeviceRow({ onSelect: () => void; }) { const { level } = useAudioLevelMeter({ - enabled: true, + enabled: selected, deviceId: device.deviceId, }); diff --git a/src/components/launch/LaunchWindow/index.tsx b/src/components/launch/LaunchWindow/index.tsx index 036a0252..de6a0600 100644 --- a/src/components/launch/LaunchWindow/index.tsx +++ b/src/components/launch/LaunchWindow/index.tsx @@ -126,9 +126,8 @@ export function LaunchWindow() { }, [selectedDeviceId, setMicrophoneDeviceId]); useEffect(() => { - if (selectedVideoDeviceId && selectedVideoDeviceId !== "default") { - setWebcamDeviceId(selectedVideoDeviceId); - } + if (!selectedVideoDeviceId) return; + setWebcamDeviceId(selectedVideoDeviceId === "default" ? undefined : selectedVideoDeviceId); }, [selectedVideoDeviceId, setWebcamDeviceId]); useEffect(() => { diff --git a/src/components/video-editor/AnnotationTextTab.tsx b/src/components/video-editor/AnnotationTextTab.tsx index f2b99587..95f6bbbb 100644 --- a/src/components/video-editor/AnnotationTextTab.tsx +++ b/src/components/video-editor/AnnotationTextTab.tsx @@ -93,7 +93,7 @@ export function AnnotationTextTab({ {customFonts.length > 0 && ( <>