LiteralTokenSource constructor

LiteralTokenSource({
  1. required String serverUrl,
  2. required String participantToken,
  3. String? participantName,
  4. String? roomName,
})

Initialize with fixed credentials.

  • Parameters:
    • serverUrl: The LiveKit server URL to connect to
    • participantToken: The JWT token for participant authentication
    • participantName: The display name for the participant (optional)
    • roomName: The name of the room to join (optional)

Implementation

LiteralTokenSource({
  required this.serverUrl,
  required this.participantToken,
  this.participantName,
  this.roomName,
});