Participant
Participant represents a remote member on an active
WebRTCCall. Instances are
created by the call when members join and removed when they leave —
applications obtain them through
call.participants$,
not by construction.
Each participant exposes every per-member piece of state the SDK tracks: mute
state (audio/video), microphone processing flags (auto-gain, noise
suppression, echo cancellation), display name, hand-raise, talking detection,
sensitivity/volume levels, and current layout position. State is exposed in
two complementary forms — a snapshot getter (e.g.
audioMuted)
for one-shot reads and an observable (audioMuted$) for reactive UI binding.
Control methods (muteAudio, setMeta, toggleLowbitrate, etc.) issue
server-side requests scoped to this member. Their effect depends on the
caller’s capabilities — inspect the local
SelfCapabilities before
exposing controls in your UI. For the local participant — which adds device
selection, screen sharing, and local media stream control — use
SelfParticipant.
Extends
Destroyable
Extended by
Implements
Constructors
Constructor
Parameters
id
Unique identifier for this entity.
executeMethod
Function used to send execute RPC calls on this entity. See ExecuteMethod.
deviceController
Device controller responsible for media-device enumeration and selection. See DeviceController.
Returns
Participant
Properties
id
Unique member ID of this participant.