Change audio devices in call #112
Reference in New Issue
Block a user
Delete Branch "feature/98-audio-settings-in-call"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds a little settings icon in VoiceWidget that opens a dialog where you can change your audio input and output device.
@@ -0,0 +50,4 @@md.addEventListener("devicechange", onDeviceChange)return () => {md.removeEventListener("devicechange", onDeviceChange)}A less verbose version:
ok yeah the AI was worried about keeping the linter happy because loadDevices returns a promise that we don't await, but it was hallucinating and I don't know enough to know better.
@@ -46,0 +71,4 @@case DeviceKind.AudioOutput:label = "speaker"break}why not
const label = kind === DeviceKind.AudioInput ? "microphone" : "speaker"Mostly because I'm adding
DeviceKind.VideoInputin another branch.Looks pretty good, maybe use ModalSubtitle for the "choose microphone" text, and make
Donefull width for consistency666351bf4fto617b5c9fca