Merge pull request #1759 from vector-im/dbkr/fix_using_non_default_device

Fix using a non-default audio device
This commit is contained in:
David Baker 2023-10-13 13:38:15 +01:00 committed by GitHub
commit 777daaf209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,7 @@ export function useLiveKit(
const connectionState = useECConnectionState( const connectionState = useECConnectionState(
{ {
deviceId: initialDevices.current.audioOutput.selectedId, deviceId: initialDevices.current.audioInput.selectedId,
}, },
initialMuteStates.current.audio.enabled, initialMuteStates.current.audio.enabled,
room, room,