Skip to content

MSC4515: RTC Transports discovery for widgets - #4515

Open
BillCarsonFr wants to merge 3 commits into
matrix-org:mainfrom
BillCarsonFr:valere/rtc/widget_action_rtc_transport
Open

MSC4515: RTC Transports discovery for widgets#4515
BillCarsonFr wants to merge 3 commits into
matrix-org:mainfrom
BillCarsonFr:valere/rtc/widget_action_rtc_transport

Conversation

@BillCarsonFr
BillCarsonFr force-pushed the valere/rtc/widget_action_rtc_transport branch from 8c7771b to ee29ea2 Compare July 22, 2026 14:23
@BillCarsonFr
BillCarsonFr force-pushed the valere/rtc/widget_action_rtc_transport branch from ee29ea2 to 8df2e5a Compare July 22, 2026 14:40
@BillCarsonFr
BillCarsonFr marked this pull request as ready for review July 22, 2026 14:42
@turt2live turt2live changed the title Rtc transport discovery for widgets MSC4515: RTC Transports discovery for widgets Jul 22, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation requirements:

  • Widget (using)
  • Client (supporting)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Client implementation: gomuks/gomuks#737 (with matrix-org/matrix-widget-api#165)

@robintown robintown left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As soon as the LiveKit authorization endpoints become authenticated CS API endpoints, I suppose this one action will no longer be enough to implement an Element Call widget. But this is a sensible action to have in general.

Comment on lines +118 to +121
## Dependencies

This MSC builds on [MSC4143](https://github.com/matrix-org/matrix-spec-proposals/pull/4143) (which at the
time of writing have not yet been accepted into the spec).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also widgets are generally not in the spec

Comment thread proposals/4515-rtc-transports-widget-action.md Outdated
Comment thread proposals/4515-rtc-transports-widget-action.md Outdated
BillCarsonFr and others added 2 commits July 28, 2026 14:31
Co-authored-by: Robin <robin@robin.town>
Co-authored-by: Robin <robin@robin.town>
@@ -0,0 +1,121 @@
# MSC4515: RTC Transports discovery for widgets

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This proposal would need adapting for #4519 , if #4520 is accepted.

stefanceriu pushed a commit to matrix-org/matrix-rust-sdk that referenced this pull request Aug 7, 2026
Mostly plumbing to get the new WidgetAction
[RtcTransportsAction](https://github.com/matrix-org/matrix-widget-api/blob/master/src/interfaces/RtcTransportsAction.ts)
to call the new client API `Client::rtc_transports` introduced in #6789

**And** a change on the ffi bindings to make the
`is_livekit_rtc_supported` to use this new rtc discover API.
There is a boolean added to decide if it can fallback to the old
well-known, it is set with a default value,
so it is not technically a source breaking change, we want to enforce
the new way of getting transport but we leave an option to steal
fallback to well-known

Implements
[MSC4515](matrix-org/matrix-spec-proposals#4515)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Client Server Client-Server API A-Widgets anything to do with widgets kind:feature MSC for not-core and not-maintenance stuff needs-implementation This MSC does not have a qualifying implementation for the SCT to review. The MSC cannot enter FCP. proposal A matrix spec change proposal. Process state.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants