fix(api): stop treating a LiveKit 404 as an empty room (#2595)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-08 19:02:43 +02:00
1 parent ceec183d38
commit 1b81c14c48
2 files changed
+77 -4

No files matched your search

@@ -324,9 +324,6 @@ export class LiveKitService extends ILiveKitService {
participants: participants.map((participant) => ({identity: participant.identity})),
};
} catch (error) {
if (LiveKitService.isHttp404(error)) {
return {status: 'ok', participants: []};
}
Logger.warn({error, regionId, serverId, roomName}, 'LiveKit listParticipants failed');
const status = LiveKitService.getHttpStatus(error);
const isRetryable = status != null && status >= 500;