devx: Enable msc4143 on other homeserver (remove well-known)

This commit is contained in:
Valere
2026-04-01 11:28:12 +02:00
parent bb7b2d1060
commit ae78cbb51a
2 changed files with 9 additions and 1 deletions

View File

@@ -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

View File

@@ -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;
}