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
2 changes: 2 additions & 0 deletions changelog.d/20168.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This change updates the well-known endpoint to support msc4143.
Contributed by jessebot.
10 changes: 10 additions & 0 deletions synapse/rest/well_known.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ async def get_well_known(self) -> JsonDict | None:
"base_url": self._config.registration.default_identity_server
}

if self._config.matrix_rtc.transports:
result["org.matrix.msc4143.rtc_foci"] = []

for transport in self._config.matrix_rtc.transports:
transport_json = {
"type": transport.type,
"livekit_service_url": transport.livekit_service_url,
}
result["org.matrix.msc4143.rtc_foci"].append(transport_json)

if self._config.mas.enabled:
assert isinstance(self._auth, MasDelegatedAuth)

Expand Down