Table of Contents

Class TokenSourceLiteral

Namespace
LiveKit

Returns a fixed server URL and participant token. Suitable when credentials are pregenerated (e.g. via the LiveKit CLI or LiveKit Cloud project page).

public class TokenSourceLiteral : ITokenSourceFixed, ITokenSource
Inheritance
TokenSourceLiteral
Implements
Inherited Members
Extension Methods

Constructors

TokenSourceLiteral(string, string)

public TokenSourceLiteral(string serverUrl, string participantToken)

Parameters

serverUrl string
participantToken string

Methods

FetchConnectionDetails()

public Task<ConnectionDetails> FetchConnectionDetails()

Returns

Task<ConnectionDetails>