feat: Add Element Call / MatrixRTC support
This commit is contained in:
committed by
Jason Volk
parent
888f72d8d0
commit
e1f89b69ea
@@ -2146,6 +2146,26 @@ pub struct WellKnownConfig {
|
||||
///
|
||||
/// example "@admin:example.com"
|
||||
pub support_mxid: Option<OwnedUserId>,
|
||||
|
||||
/// Element Call / MatrixRTC configuration (MSC4143).
|
||||
/// Configures the LiveKit SFU server for voice/video calls.
|
||||
///
|
||||
/// Requires a LiveKit server with JWT authentication.
|
||||
/// The `livekit_service_url` should point to your LiveKit JWT endpoint.
|
||||
///
|
||||
/// Note: You must also set `client` above to your homeserver URL.
|
||||
///
|
||||
/// Example:
|
||||
/// ```toml
|
||||
/// [global.well_known]
|
||||
/// client = "https://matrix.yourdomain.com"
|
||||
///
|
||||
/// [[global.well_known.rtc_transports]]
|
||||
/// type = "livekit"
|
||||
/// livekit_service_url = "https://livekit.yourdomain.com"
|
||||
/// ```
|
||||
#[serde(default)]
|
||||
pub rtc_transports: Vec<serde_json::Value>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Default)]
|
||||
|
||||
Reference in New Issue
Block a user