diff --git a/src/config/ConfigOptions.ts b/src/config/ConfigOptions.ts index 5d18695a9..5f9910662 100644 --- a/src/config/ConfigOptions.ts +++ b/src/config/ConfigOptions.ts @@ -97,11 +97,19 @@ export interface ConfigOptions { }; }; - // Describes the LiveKit configuration to be used. + /** + * Describes the LiveKit configuration to be used. + */ livekit?: { - // The link to the service that returns a livekit url and token to use it. - // This is a fallback link in case the homeserver in use does not advertise - // a livekit service url over the transports endpoint. + /** + * The link to the service that returns a livekit url and token to use it. + * This is a fallback link in case the homeserver in use does not advertise + * a livekit service url over the transports endpoint. + * + * @deprecated Homeservers should advertise available transports over the + * /_matrix/client/unstable/org.matrix.msc4143/rtc/transports endpoint + * instead. + */ livekit_service_url: string; };