Show the whole transport in debug UI and logs

A transport may soon carry a LiveKit SFU `url` instead of, or as well as,
a `livekit_service_url`, so a service URL alone no longer identifies it.
Pass the whole transport to the tiles' debug stats and print it as JSON in
log lines instead of picking out the service URL.
This commit is contained in:
Robin authored and Johannes Marbach committed 2026-10-12 10:09:50 +02:00
1 parent 4e4ab23cda
commit 3927c2b7dc
11 files changed
+48 -61

No files matched your search

+3 -5
View File
@@ -635,9 +635,7 @@ export function createCallViewModel$(
mediaDevices,
muteStates,
trackProcessorState$,
logger.getChild(
"[Publisher " + connection.transport.livekit_service_url + "]",
),
logger.getChild(`[Publisher ${JSON.stringify(connection.transport)}]`),
controlledAudioDevices,
);
},
@@ -829,8 +827,8 @@ export function createCallViewModel$(
livekitRoom$: scope.behavior(
connection$.pipe(map((c) => c?.livekitRoom)),
),
focusUrl$: scope.behavior(
connection$.pipe(map((c) => c?.transport.livekit_service_url)),
transport$: scope.behavior(
connection$.pipe(map((c) => c?.transport)),
),
mediaDevices,
pretendToBeDisconnected$: localMembership.reconnecting$,