From f2d8139ccd2dbb1b143f538e786ea766b9af60c1 Mon Sep 17 00:00:00 2001 From: Timo Date: Mon, 14 Jul 2025 17:11:05 +0200 Subject: [PATCH] configure `delayedEventRestartLocalTimeoutMs` to 2300 --- src/rtcSessionHelpers.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rtcSessionHelpers.ts b/src/rtcSessionHelpers.ts index e4176dc0..a619ec8e 100644 --- a/src/rtcSessionHelpers.ts +++ b/src/rtcSessionHelpers.ts @@ -131,6 +131,9 @@ export async function enterRTCSession( makeKeyDelay: matrixRtcSessionConfig?.wait_for_key_rotation_ms ?? matrixRtcSessionConfig?.key_rotation_on_leave_delay, + // Do not expose the `delayedEventRestartLocalTimeoutMs` property to the config. + // This might be too involved and just decrease the experience of configuring EC. + delayedEventRestartLocalTimeoutMs: 2300, membershipEventExpiryMs: matrixRtcSessionConfig?.membership_event_expiry_ms, useExperimentalToDeviceTransport,