From 15b40835b8fbdc1ad178df68be3e3077863115fa Mon Sep 17 00:00:00 2001 From: Timo K Date: Thu, 25 Jun 2026 13:31:02 +0200 Subject: [PATCH 1/6] Default to compatibilty mode --- src/settings/settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings/settings.ts b/src/settings/settings.ts index 8d3a9983f..ac6e7e01c 100644 --- a/src/settings/settings.ts +++ b/src/settings/settings.ts @@ -137,7 +137,7 @@ export const enableExtendedLivekitLogs = new Setting( export const matrixRTCMode = new Setting( "matrix-rtc-mode", - MatrixRTCMode.Legacy, + MatrixRTCMode.Compatibility, ); export const customLivekitUrl = new Setting( From 6ca5ddda73918772f3ea9a068815733d4c60221d Mon Sep 17 00:00:00 2001 From: Timo K Date: Thu, 25 Jun 2026 16:05:58 +0200 Subject: [PATCH 2/6] fix snapshot --- src/settings/__snapshots__/DeveloperSettingsTab.test.tsx.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings/__snapshots__/DeveloperSettingsTab.test.tsx.snap b/src/settings/__snapshots__/DeveloperSettingsTab.test.tsx.snap index 6159985cd..2f1c29b4a 100644 --- a/src/settings/__snapshots__/DeveloperSettingsTab.test.tsx.snap +++ b/src/settings/__snapshots__/DeveloperSettingsTab.test.tsx.snap @@ -274,7 +274,6 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = ` > renders and matches snapshot 1`] = ` > Date: Fri, 26 Jun 2026 13:30:19 +0200 Subject: [PATCH 3/6] Update config.sample.json --- config/config.sample.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.sample.json b/config/config.sample.json index 71bfecbc6..78f9536da 100644 --- a/config/config.sample.json +++ b/config/config.sample.json @@ -12,7 +12,7 @@ "feature_use_device_session_member_events": true }, "ssla": "https://static.element.io/legal/element-software-and-services-license-agreement-uk-1.pdf", - "matrix_rtc_mode": "legacy", + "matrix_rtc_mode": "compatibility", "matrix_rtc_session": { "wait_for_key_rotation_ms": 3000, "membership_event_expiry_ms": 180000000, From 356d5261169aec505bcd30bf8a60e68715e05110 Mon Sep 17 00:00:00 2001 From: Timo K Date: Mon, 29 Jun 2026 13:02:26 +0200 Subject: [PATCH 4/6] Update sfu-reconnect-bug.spec.ts --- playwright/sfu-reconnect-bug.spec.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/playwright/sfu-reconnect-bug.spec.ts b/playwright/sfu-reconnect-bug.spec.ts index 9be4a3ac9..065335448 100644 --- a/playwright/sfu-reconnect-bug.spec.ts +++ b/playwright/sfu-reconnect-bug.spec.ts @@ -6,6 +6,7 @@ Please see LICENSE in the repository root for full details. */ import { expect, test } from "@playwright/test"; +import { logger } from "matrix-js-sdk/lib/logger"; test("When creator left, avoid reconnect to the same SFU", async ({ browser, @@ -88,15 +89,18 @@ test("When creator left, avoid reconnect to the same SFU", async ({ await guestCPage.getByRole("radio", { name: "Spotlight" }).check(); await guestCPage.waitForTimeout(1000); - + if (wsConnectionCount === 2) { + logger.warn("wsConnectionCount is 2, expecting 1 after join") + } + const wsConnectionCountBeforeLeave = wsConnectionCount; // ======== // the creator leaves the call await creatorPage.getByTestId("incall_leave").click(); // https://github.com/element-hq/element-call/issues/3344 // The app used to request a new jwt token then to reconnect to the SFU - expect(wsConnectionCount).toBe(1); + expect(wsConnectionCount).toBe(wsConnectionCountBeforeLeave); // Wait a bit to be sure that if there was a reconnect, it would have happened by now await guestCPage.waitForTimeout(6000); - expect(wsConnectionCount).toBe(1); + expect(wsConnectionCount).toBe(wsConnectionCountBeforeLeave); }); From 5b4e8865e59885f5b7f8fae3b0557872e19ed280 Mon Sep 17 00:00:00 2001 From: Timo K Date: Mon, 29 Jun 2026 13:04:22 +0200 Subject: [PATCH 5/6] Update sfu-reconnect-bug.spec.ts --- playwright/sfu-reconnect-bug.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright/sfu-reconnect-bug.spec.ts b/playwright/sfu-reconnect-bug.spec.ts index 065335448..bffa08d4e 100644 --- a/playwright/sfu-reconnect-bug.spec.ts +++ b/playwright/sfu-reconnect-bug.spec.ts @@ -90,7 +90,7 @@ test("When creator left, avoid reconnect to the same SFU", async ({ await guestCPage.waitForTimeout(1000); if (wsConnectionCount === 2) { - logger.warn("wsConnectionCount is 2, expecting 1 after join") + logger.warn("wsConnectionCount is 2, expecting 1 after join"); } const wsConnectionCountBeforeLeave = wsConnectionCount; // ======== From 8028a6aa2421386d467517baca4efea2adc7e955 Mon Sep 17 00:00:00 2001 From: Timo K Date: Mon, 29 Jun 2026 13:11:26 +0200 Subject: [PATCH 6/6] Update sfu-reconnect-bug.spec.ts --- playwright/sfu-reconnect-bug.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/playwright/sfu-reconnect-bug.spec.ts b/playwright/sfu-reconnect-bug.spec.ts index bffa08d4e..5d13e2bc1 100644 --- a/playwright/sfu-reconnect-bug.spec.ts +++ b/playwright/sfu-reconnect-bug.spec.ts @@ -6,7 +6,6 @@ Please see LICENSE in the repository root for full details. */ import { expect, test } from "@playwright/test"; -import { logger } from "matrix-js-sdk/lib/logger"; test("When creator left, avoid reconnect to the same SFU", async ({ browser, @@ -90,7 +89,7 @@ test("When creator left, avoid reconnect to the same SFU", async ({ await guestCPage.waitForTimeout(1000); if (wsConnectionCount === 2) { - logger.warn("wsConnectionCount is 2, expecting 1 after join"); + console.warn("wsConnectionCount is 2, expecting 1 after join"); } const wsConnectionCountBeforeLeave = wsConnectionCount; // ========