mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-16 23:45:50 +00:00
fix lints
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user