From f2b3d21d47a95b049341336f2384aea4717009e3 Mon Sep 17 00:00:00 2001 From: fkwp Date: Tue, 3 Jun 2025 18:31:27 +0200 Subject: [PATCH] add more logging --- src/livekit/useLivekit.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/livekit/useLivekit.ts b/src/livekit/useLivekit.ts index c9a4e92a..16eeef24 100644 --- a/src/livekit/useLivekit.ts +++ b/src/livekit/useLivekit.ts @@ -358,6 +358,12 @@ export function useLivekit( } } else { if (id !== undefined && room.getActiveDevice(kind) !== id) { + logger.debug( + "DEBUG: Switching active device", + kind, + id, + room.getActiveDevice(kind), + ); room .switchActiveDevice(kind, id) .catch((e) =>