always use multi sfu if we are using sticky events.

Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2025-10-20 17:07:07 +02:00
parent 63be9939b1
commit e523776d06
2 changed files with 5 additions and 7 deletions
+2 -6
View File
@@ -123,12 +123,8 @@ export async function enterRTCSession(
useMultiSfu: true,
},
): Promise<void> {
const {
encryptMedia,
useExperimentalToDeviceTransport = false,
useMultiSfu = true,
} = options;
const { encryptMedia, useExperimentalToDeviceTransport = false } = options;
const useMultiSfu = preferStickyEvents.getValue() ?? options.useMultiSfu;
PosthogAnalytics.instance.eventCallEnded.cacheStartCall(new Date());
PosthogAnalytics.instance.eventCallStarted.track(rtcSession.room.roomId);