fix lints

This commit is contained in:
Timo K.
2026-10-14 16:44:31 +02:00
parent 3b763d87f2
commit 7af6525f01
+4 -4
View File
@@ -132,9 +132,9 @@ export function createRTCParticipation(
logger, logger,
}); });
// If the backend is a LiveKit: We check it for transports as well. (as a fallbacke) // If the backend is LiveKit, we check it for transports as well, as a
// The livekit backend is a source of transports too. // fallback: another member's SFU may let us publish (MSC4195). LiveKit only,
// (MSC4195). LiveKit only, so it stays out of the backend interface // so it stays out of the backend interface
const transportsFromBackends = async (): Promise<Transport[]> => const transportsFromBackends = async (): Promise<Transport[]> =>
backend.transportType === "livekit" backend.transportType === "livekit"
? findRemotePublishLivekitTransport({ ? findRemotePublishLivekitTransport({
@@ -146,7 +146,7 @@ export function createRTCParticipation(
roomId: room.roomId, roomId: room.roomId,
slotId: jsSdkSession.slotId, slotId: jsSdkSession.slotId,
logger, logger,
}) }).then((transport) => (transport === null ? [] : [transport]))
: []; : [];
const preparedTransport$ = from( const preparedTransport$ = from(