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.
audio level between 0-1.0, 1 being loudest, 0 being softest