Controls how a video view's logical size is scaled to physical pixels when
computing adaptive-stream dimensions. Mirrors the JS SDK's pixelDensity
option (number | 'screen').
Diagnostic state of one audio processing component (echo cancellation,
noise suppression, auto gain control or high-pass filter), observed at
three stages of one pipeline: requested (caller intent) -> resolved (the
engine's per-path decision) -> active (live truth), with effective as
the merged verdict.
Data received from RemoteParticipant.
Data packets provides the ability to use LiveKit to send/receive arbitrary
payloads.
Emitted by Room and RemoteParticipant.
This will enable the local participant to publish tracks on connect,
instead of having to explicitly publish them.
Defaults to false for all three tracks: microphone, camera, and screen.
You can also create LocalAudio/VideoTrack on your PreJoin page
(preview camera or select audio device), Automatically publish these
tracks after the room is connected.
Represents the current participant in the room. Instance of LocalParticipant is automatically
created after successfully connecting to a Room and will be accessible from Room.localParticipant.
When a new RemoteParticipant joins after the current participant has connected
It will not fire for participants that are already in the room
Emitted by Room.
Participant metadata is a simple way for app-specific state to be pushed to
all users. When RoomService.UpdateParticipantMetadata is called to change a
Participant's state, allParticipants in the room will fire this event.
Emitted by Room and Participant.
Room is the primary construct for LiveKit conferences. It contains a
group of Participants, each publishing and subscribing to Tracks.
Notifies changes to its state via two ways, by assigning a delegate, or using
it as a provider.
Room will trigger a change notification update when
When the connection to the server has been interrupted and it's attempting
a full reconnect (peer connections are reset, media is interrupted).
Emitted by Room.
When the signal connection has been interrupted and it's attempting
to resume. Peer connections remain active during this type of reconnect.
Emitted by Room.
When a new Track is published to Roomafter the current participant has
joined. It will not fire for tracks that are already published.
Emitted by Room and RemoteParticipant.
One of subscribed tracks have changed its permissions for the current
participant. If permission was revoked, then the track will no longer
be subscribed. If permission was granted, a TrackSubscribed event will
be emitted.
Result code from applying AudioProcessingOptions, mirroring the native
AudioProcessingOptionsResult. applied/stored are success; the rest are
rejections.
Maximum payload size for RPC requests and responses. If a payload exceeds this size,
the RPC call will fail with a REQUEST_PAYLOAD_TOO_LARGE(1402) or RESPONSE_PAYLOAD_TOO_LARGE(1504) error.
Thrown when the native layer rejects requested AudioProcessingOptions
(e.g. an invalid platform/software combination, or platform processing that
is unavailable on the device).