add more logging

This commit is contained in:
fkwp
2025-06-03 18:31:27 +02:00
parent b67bfa765b
commit f2b3d21d47

View File

@@ -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) =>