Constructors

Properties

Accessors

Methods

Constructors

  • Creates a new AccessToken

    Parameters

    • Optional apiKey: string

      API Key, can be set in env LIVEKIT_API_KEY

    • Optional apiSecret: string

      Secret, can be set in env LIVEKIT_API_SECRET

    • Optional options: AccessTokenOptions

    Returns AccessToken

Properties

identity?: string
ttl: string | number

Accessors

  • set metadata(md): void
  • Set metadata to be passed to the Participant, used only when joining the room

    Parameters

    • md: string

    Returns void

Methods

Generated using TypeDoc