ReadonlyEventsThe room's cancelable event bus (Before-events + notifications). Subscribe with Events.On(...);
the Angular layer re-surfaces these as @Output() emitters. See LiveKitRoomEventBus.
The current room-state snapshot (synchronous).
The normalized room-state snapshot. Emits the current value on subscribe, then on every change.
The current connection status (synchronous convenience).
Connects to a LiveKit room and brings the local participant online with the requested media.
The LiveKit server URL (e.g. wss://livekit.myorg.com).
The signed access token authorizing this participant to join a specific room.
Initial media + display-name options.
Disconnects from the room and releases all resources. Safe to call when not connected.
Whether the user requested the leave (raises a cancelable beforeDisconnect).
Internal reconnect cycles pass false to skip the veto hook. Defaults to true.
true if the disconnect proceeded, false if a beforeDisconnect handler canceled it.
Disposes the controller, tears down the connection, and clears all subscribers.
Returns the deviceId of the currently-active device for a given kind, or null
when no room is connected or the active device is unknown. Used by hosts to
pre-select the active device in a device-picker UI.
The device kind to query.
The active deviceId, or null if unavailable.
Enumerates available media devices of a given kind.
The device kind to enumerate.
The available devices.
Sends a text message on the LiveKit data channel (reliable publish to all participants).
The message text.
Optionaltopic: stringOptional topic to publish under (for routing on the receiving side).
Applies a camera background effect (blur / virtual background), or clears it with { Kind: 'none' }.
The effect to apply.
true if applied; false if the SDK is unavailable or no camera track exists.
Enables or disables the local camera.
Enables or disables the local microphone.
Enables/disables the Krisp noise filter on the local microphone (LiveKit Cloud).
Whether the filter should be on.
true if applied; false if unsupported or the SDK is unavailable.
Starts or stops local screen sharing.
Resumes audio playback after a browser autoplay block (must be called from a user-gesture handler). Clears LiveKitRoomState.AudioPlaybackBlocked on success.
Switches the active device for a given kind.
The device kind to switch.
The deviceId to switch to.
Toggles the camera and returns the new state.
Toggles the microphone and returns the new state.
Toggles screen sharing and returns the new state.
Controls a single LiveKit room: connect/disconnect, local-media toggles, data messages, device switching, and a normalized observable state snapshot. One controller == one room connection.