Add video settings to VoiceCallAudioSettingsDialog

This commit is contained in:
mplorentz
2026-04-03 09:23:53 -04:00
committed by hodlbod
parent 9e4ac16673
commit 2661f449dd
3 changed files with 47 additions and 8 deletions
+4
View File
@@ -54,6 +54,7 @@ const LIVEKIT_DEFAULT_DEVICE_ID = "default"
export enum DeviceKind {
AudioInput = "audioinput",
AudioOutput = "audiooutput",
VideoInput = "videoinput",
}
export const switchVoiceActiveDevice = async (
@@ -74,6 +75,9 @@ export const switchVoiceActiveDevice = async (
case DeviceKind.AudioOutput:
label = "speaker"
break
case DeviceKind.VideoInput:
label = "camera"
break
}
pushToast({theme: "error", message: `Error changing ${label}`})
}