Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions backend/dev_homeserver-othersite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
3 changes: 2 additions & 1 deletion backend/dev_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Loading