SelfParticipant
SelfParticipant is the local user’s view of themselves on a call. It
extends Participant — inheriting
every remote-side observable and control method — and adds the local-only
surface area: device selection, screen sharing, the local MediaStream, and
the per-call SelfCapabilities
that gate which controls the server allows. Instances are created by the call
on join and obtainable via
call.self$.
Device-related methods (selectAudio*, selectVideo*, addAudioInputDevice,
disableVideoInput, etc.) update the local capture and renegotiate the peer
connection automatically. Screen-share methods (startScreenShare,
stopScreenShare) acquire a getDisplayMedia track, publish it to the
call, and update screenShareStatus$ accordingly.
Media-processing toggles (setAutoGainControl, setEchoCancellation,
setNoiseSuppression) modify the active audio track in place.
For checking whether a given action is permitted before exposing it in the
UI, read capabilities (the underlying
SelfCapabilities instance,
which itself exposes each capability as both a snapshot and an observable).
Extends
Implements
Properties
capabilities
Capabilities for this participant. Contains all capability flags as both observables and values.
id
Unique member ID of this participant.