Skip to content

Remove .well-known transport discovery - #4153

Merged
robintown merged 8 commits into
livekitfrom
valere/rtc/remove_well_known_fallback
Aug 11, 2026
Merged

Remove .well-known transport discovery#4153
robintown merged 8 commits into
livekitfrom
valere/rtc/remove_well_known_fallback

Conversation

@BillCarsonFr

@BillCarsonFr BillCarsonFr commented Aug 5, 2026

Copy link
Copy Markdown
Member

Blocked because depends on: #4135

Breaking for widget host that don't support MSC4515

Content

Motivation and context

Screenshots / GIFs

Tests

  • Step 1
  • Step 2
  • Step ...

Checklist

  • A linked, pre-approved issue exists for this feature or UI change.
  • I have read CONTRIBUTING.md in full.
  • Pull request includes screenshots or videos for any UI changes.
  • Tests written for new code (and existing touched code where feasible).
  • Linter and other CI checks pass.
  • I have licensed the changes to Element by completing the Contributor License Agreement (CLA)

@robintown robintown added PR-Breaking-Change A Pull request that changes EC in a way that is incompatible to the previous version. X-Blocked Cannot be merged due to external dependencies labels Aug 10, 2026
@robintown
robintown marked this pull request as ready for review August 10, 2026 13:16
@robintown
robintown requested a review from a team as a code owner August 10, 2026 13:16
@robintown
robintown requested review from AndrewFerr and removed request for a team August 10, 2026 13:16
@robintown robintown changed the title Remove well-known discovery Remove .well-known transport discovery Aug 10, 2026
@robintown
robintown changed the base branch from valere/widget_rtc_transport_action to livekit August 11, 2026 10:02
@robintown robintown removed the X-Blocked Cannot be merged due to external dependencies label Aug 11, 2026
@robintown
robintown enabled auto-merge August 11, 2026 10:07
@robintown
robintown merged commit 6f7dac3 into livekit Aug 11, 2026
30 checks passed
w1erley added a commit to eledrone/eledrone-call that referenced this pull request Aug 12, 2026
Transport discovery used to be three steps - the MSC4143 transports endpoint,
then .well-known, then app config. Upstream removed the middle one
(element-hq#4153), and that middle one is the only one eledrone
had: Dendrite answers 404 for the endpoint, and the SFU is advertised in
.well-known. With the fallback gone there is nowhere left to find a transport,
so no call connects at all.

This is why calls broke the moment the app started embedding a widget built from
this fork rather than the released 0.22.0 package - the release still has the
.well-known step.

The URL is the one .well-known already advertises. Remove this once the
homeserver implements the transports endpoint, which is where upstream is going.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
w1erley added a commit to eledrone/eledrone-web that referenced this pull request Aug 12, 2026
Calls stopped connecting the moment the app started embedding a widget built
from our own fork rather than the released 0.22.0 package.

Element Call finds its SFU by trying, in order: the MSC4143 transports
endpoint, .well-known, then its own config. Upstream removed the .well-known
step (element-hq/element-call#4153), and that step was the only one that
worked here - Dendrite answers 404 for the transports endpoint, and the SFU is
advertised in .well-known. So the fork's build had nowhere left to look while
0.22.0 still did.

eledrone-call now puts livekit_service_url in the widget's own config.json,
which is the surviving step. This picks that build up.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-Breaking-Change A Pull request that changes EC in a way that is incompatible to the previous version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants