mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-18 18:59:23 +00:00
devx: Enable msc4143 on other homeserver (remove well-known)
This commit is contained in:
@@ -40,6 +40,8 @@ experimental_features:
|
|||||||
msc4222_enabled: true
|
msc4222_enabled: true
|
||||||
# sticky events for MatrixRTC user state
|
# sticky events for MatrixRTC user state
|
||||||
msc4354_enabled: true
|
msc4354_enabled: true
|
||||||
|
# MSC4143: RTC Transport end point
|
||||||
|
msc4143_enabled: true
|
||||||
|
|
||||||
# The maximum allowed duration by which sent events can be delayed, as
|
# The maximum allowed duration by which sent events can be delayed, as
|
||||||
# per MSC4140. Must be a positive value if set. Defaults to no
|
# 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
|
# Currently the heart-beat is every 5 seconds which translates into a rate of 0.2s
|
||||||
per_second: 0.5
|
per_second: 0.5
|
||||||
burst_count: 30
|
burst_count: 30
|
||||||
|
|
||||||
|
matrix_rtc:
|
||||||
|
transports:
|
||||||
|
- type: livekit
|
||||||
|
livekit_service_url: https://matrix-rtc.othersite.m.localhost/livekit/jwt
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ server {
|
|||||||
# setting for livekit_service_url
|
# setting for livekit_service_url
|
||||||
location /.well-known/matrix/client {
|
location /.well-known/matrix/client {
|
||||||
add_header Access-Control-Allow-Origin *;
|
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;
|
default_type application/json;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user