Class LiveKitOptions
- Namespace
- LiveKit
- Assembly
- LiveKit.AspNetCore.ServerSdk.dll
Configuration options for LiveKit services.
Contains settings for API authentication, server URL, and webhook validation. See LiveKit Documentation for setup instructions.
public sealed class LiveKitOptions
- Inheritance
-
LiveKitOptions
- Inherited Members
Properties
AgentsUrl
Gets or sets the URL for the Cloud Agent service.
When not set, it is derived from BaseUrl by replacing its first subdomain with agents,
e.g. https://my-project.livekit.cloud becomes https://agents.livekit.cloud.
public string? AgentsUrl { get; set; }
Property Value
ApiKey
Gets or sets the API key for authentication.
public string ApiKey { get; set; }
Property Value
ApiSecret
Gets or sets the API secret for authentication.
public string ApiSecret { get; set; }
Property Value
BaseUrl
Gets or sets the base URL for the LiveKit server.
public string BaseUrl { get; set; }
Property Value
WebhookClockTolerance
Gets or sets the clock tolerance for webhook JWT token validation. Defaults to 10 seconds to account for clock skew between servers.
public TimeSpan WebhookClockTolerance { get; set; }