client assigned identity, encoded in JWT token
if participant is currently speaking
Optional
lastOptional
metadataclient metadata, opaque to livekit
Optional
nameclient assigned display name, encoded in JWT token
Optional
permissionsserver 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.
gets the volume on the participant's microphone track
sets the volume on the participant's audio track by default, this affects the microphone publication a different source can be passed in as a second argument if no track exists the volume will be applied when the microphone track is added
audio level between 0-1.0, 1 being loudest, 0 being softest