start with a couple of more logs

This commit is contained in:
Timo
2025-05-27 17:38:45 +02:00
parent b1ca464c58
commit b8951944ab
2 changed files with 2 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ export function useLivekit(
// @livekit/components-react. JSON.stringify() is used in deps of a
// useEffect() with an argument that references itself, if E2EE is enabled
const room = useMemo(() => {
logger.info("[LivekitRooms] Create LiveKit room with options", roomOptions);
const r = new Room(roomOptions);
r.setE2EEEnabled(e2eeSystem.kind !== E2eeType.NONE).catch((e) => {
logger.error("Failed to set E2EE enabled on room", e);