From a2c40561dbd20a44e9c6b94dcb1b3af9d124961b Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Sun, 18 Jun 2023 14:26:50 -0400 Subject: [PATCH] Fix a likely bug with audio inputs and outputs getting mixed up? --- src/room/VideoPreview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/room/VideoPreview.tsx b/src/room/VideoPreview.tsx index dd4dedfa..4f827808 100644 --- a/src/room/VideoPreview.tsx +++ b/src/room/VideoPreview.tsx @@ -79,7 +79,7 @@ export function VideoPreview({ matrixInfo, onUserChoicesChanged }: Props) { ); const audio = usePreviewDevice( audioEnabled, - audioId != "" ? audioId : defaultDevices.audiooutput, + audioId != "" ? audioId : defaultDevices.audioinput, "audioinput" );