Hierarchy (view full)

Properties

audioLevel: number = 0

audio level between 0-1.0, 1 being loudest, 0 being softest

audioTrackPublications: Map<string, TrackPublication>
identity: string

client assigned identity, encoded in JWT token

isSpeaking: boolean = false

if participant is currently speaking

lastSpokeAt?: Date
metadata?: string

client metadata, opaque to livekit

name?: string

client assigned display name, encoded in JWT token

permissions?: ParticipantPermission
sid: string

server assigned unique id

trackPublications: Map<string, TrackPublication>

map of track sid => all published tracks

videoTrackPublications: Map<string, TrackPublication>

Accessors

  • get attributes(): Readonly<Record<string, string>>
  • participant attributes, similar to metadata, but as a key/value map

    Returns Readonly<Record<string, string>>

Methods