From ae78cbb51a78ab542d57ffe795bb0cb28ca7ef39 Mon Sep 17 00:00:00 2001 From: Valere Date: Wed, 1 Apr 2026 11:28:12 +0200 Subject: [PATCH] devx: Enable msc4143 on other homeserver (remove well-known) --- backend/dev_homeserver-othersite.yaml | 7 +++++++ backend/dev_nginx.conf | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/backend/dev_homeserver-othersite.yaml b/backend/dev_homeserver-othersite.yaml index 81e775ca..62f4592d 100644 --- a/backend/dev_homeserver-othersite.yaml +++ b/backend/dev_homeserver-othersite.yaml @@ -40,6 +40,8 @@ experimental_features: msc4222_enabled: true # sticky events for MatrixRTC user state msc4354_enabled: true + # MSC4143: RTC Transport end point + msc4143_enabled: true # The maximum allowed duration by which sent events can be delayed, as # per MSC4140. Must be a positive value if set. Defaults to no @@ -64,3 +66,8 @@ rc_message: # Currently the heart-beat is every 5 seconds which translates into a rate of 0.2s per_second: 0.5 burst_count: 30 + +matrix_rtc: + transports: + - type: livekit + livekit_service_url: https://matrix-rtc.othersite.m.localhost/livekit/jwt diff --git a/backend/dev_nginx.conf b/backend/dev_nginx.conf index d3ddbc53..ceb98e53 100644 --- a/backend/dev_nginx.conf +++ b/backend/dev_nginx.conf @@ -60,7 +60,8 @@ server { # setting for livekit_service_url location /.well-known/matrix/client { add_header Access-Control-Allow-Origin *; - return 200 '{"m.homeserver": {"base_url": "https://synapse.othersite.m.localhost"}, "org.matrix.msc4143.rtc_foci": [{"type": "livekit", "livekit_service_url": "https://matrix-rtc.othersite.m.localhost/livekit/jwt"}]}'; + # synapse.othersite supports /rtc/transport so remove the livekit_service_url from auto-discovery as it is not needed. + return 200 '{"m.homeserver": {"base_url": "https://synapse.othersite.m.localhost"}}'; default_type application/json; }