Fix using a non-default audio device
We were passing the output option when we wanted the input, so the mic track pre-creation would just always use the system default.
This commit is contained in:
@@ -127,7 +127,7 @@ export function useLiveKit(
|
||||
|
||||
const connectionState = useECConnectionState(
|
||||
{
|
||||
deviceId: initialDevices.current.audioOutput.selectedId,
|
||||
deviceId: initialDevices.current.audioInput.selectedId,
|
||||
},
|
||||
initialMuteStates.current.audio.enabled,
|
||||
room,
|
||||
|
||||
Reference in New Issue
Block a user