From 6dcc44b631abf3346db12daa81dcb1871febf630 Mon Sep 17 00:00:00 2001 From: Valere Date: Wed, 6 Aug 2025 09:26:07 +0200 Subject: [PATCH] comment --- src/rtcSessionHelpers.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rtcSessionHelpers.ts b/src/rtcSessionHelpers.ts index 33150b48..ba0b39f4 100644 --- a/src/rtcSessionHelpers.ts +++ b/src/rtcSessionHelpers.ts @@ -71,6 +71,7 @@ async function makePreferredLivekitFoci( }); if (validWellKnownFoci.length > 0) { const toWarmup = validWellKnownFoci[0]; + // this will call the jwt/sfu/get endpoint to pre create the livekit room. await getSFUConfigWithOpenID(rtcSession.room.client, toWarmup); shouldWarmup = false; } @@ -86,6 +87,7 @@ async function makePreferredLivekitFoci( livekit_alias: livekitAlias, }; if (shouldWarmup) { + // this will call the jwt/sfu/get endpoint to pre create the livekit room. await getSFUConfigWithOpenID(rtcSession.room.client, focusFormConf); } logger.log("Adding livekit focus from config: ", focusFormConf);