OptionalAgentWhether an agent can see this participant's camera and shared screen: they allowed it (AllowsAgentVision in
@memberjunction/ai) and an agent in the room watches (LiveKitRoomState.AgentWatching). Absent means no.
Smoothed audio level in 0..1 for meters, sourced from LiveKit's per-participant audio level.
OptionalAvatarSet on an agent whose avatar the meeting can't show, from its bot's attribute. Absent while the avatar shows, when
the agent asked for none, and on anyone who is not an agent. The avatar itself is the bot's camera track named
REALTIME_AGENT_AVATAR_TRACK_NAME (@memberjunction/ai), which ToMediaParticipant shows as the avatar.
Connection quality bucket as LiveKit reports it.
The participant's display name (name), when set; falls back to Identity.
Whether the participant currently has a published, unmuted microphone track.
Whether the participant currently has a published, unmuted camera track.
Stable, application-assigned participant identity (the diarization / addressing key).
Whether this is the local participant (the human running this client).
Whether the participant is currently sharing their screen.
Whether the participant is currently speaking (LiveKit voice-activity detection).
OptionalMediaMedia from outside LiveKit, which ToMediaParticipant shows in place of Raw's tracks and level: a
video of a kind here replaces that kind's track, and a level reader replaces Raw.audioLevel. Absent for a
participant whose media comes through LiveKit.
The underlying livekit-client participant, exposed ONLY so a UI layer can attach media tracks
(view.Raw.getTrackPublication(...)?.track?.attach(el)). Do not mutate it directly — drive the
room through its controller (import('./livekit-room-controller').ILiveKitRoomController) instead.
The participant's room role, derived from metadata (the agent bot reports as 'agent').
A normalized view of one room participant. This is what a UI grid renders — one tile per view. Raw is included so the UI can attach the participant's video/audio tracks to DOM elements.