client assigned identity, encoded in JWT token
if participant is currently speaking
OptionallastOptionalmetadataclient metadata, opaque to livekit
Optionalnameclient assigned display name, encoded in JWT token
Optionalpermissionsserver assigned unique id
map of track sid => all published tracks
participant attributes, similar to metadata, but as a key/value map
when participant joined the room
Finds the first track that matches the source filter, for example, getting the user's camera track with getTrackBySource(Track.Source.Camera).
Finds the first track that matches the track's name.
Waits until the participant is active and ready to receive data messages
a promise that resolves when the participant is active
audio level between 0-1.0, 1 being loudest, 0 being softest