feat(api): implement MSC4143 RTC transports discovery endpoint

Add dedicated \`GET /_matrix/client/v1/rtc/transports\` and \`GET /_matrix/client/unstable/org.matrix.msc4143/rtc/transports\` endpoints for MatrixRTC focus discovery (MSC4143), replacing the deprecated well-known approach.

Move RTC foci configuration from \`[global.well_known]\` into a new \`[global.matrix_rtc]\` config section with a \`foci\` field. Remove \`rtc_foci\` from the \`.well-known/matrix/client\` response. Update LiveKit setup documentation accordingly.

Closes #1431
This commit is contained in:
Niklas Wojtkowiak
2026-02-23 02:47:11 -05:00
committed by 0xnim
parent cb9786466b
commit 8ddb7c70c0
5 changed files with 70 additions and 60 deletions
+8
View File
@@ -184,6 +184,14 @@ pub fn build(router: Router<State>, server: &Server) -> Router<State> {
.ruma_route(&client::put_suspended_status)
.ruma_route(&client::well_known_support)
.ruma_route(&client::well_known_client)
.route(
"/_matrix/client/v1/rtc/transports",
get(client::get_rtc_transports),
)
.route(
"/_matrix/client/unstable/org.matrix.msc4143/rtc/transports",
get(client::get_rtc_transports),
)
.route("/_conduwuit/server_version", get(client::conduwuit_server_version))
.route("/_continuwuity/server_version", get(client::conduwuit_server_version))
.ruma_route(&client::room_initial_sync_route)