Member Junction
    Preparing search index...

    A snapshot of the whole room state, emitted whenever anything material changes.

    interface LiveKitRoomState {
        ActiveSpeakerIdentities: string[];
        AgentWatching?: boolean;
        AudioPlaybackBlocked: boolean;
        BackgroundEffect: LiveKitBackgroundEffect;
        DisconnectReason?: LiveKitDisconnectReason;
        E2EEEnabled: boolean;
        Local?: LiveKitParticipantView;
        LocalMedia: LiveKitLocalMediaState;
        NoiseFilterEnabled: boolean;
        Remote: LiveKitParticipantView[];
        RoomName?: string;
        Status: LiveKitConnectionStatus;
    }
    Index

    Properties

    ActiveSpeakerIdentities: string[]

    Identities currently flagged as active speakers, most-recent first.

    AgentWatching?: boolean

    Whether an agent in the room watches the cameras and screens people let it see (IsAgentWatching in @memberjunction/ai, on its bot's attributes). The room offers the choice only then. Absent means no.

    AudioPlaybackBlocked: boolean

    Whether browser autoplay policy is blocking remote audio (the UI should prompt to enable sound).

    BackgroundEffect: LiveKitBackgroundEffect

    The active camera background effect.

    DisconnectReason?: LiveKitDisconnectReason

    The reason for disconnect, once disconnected.

    E2EEEnabled: boolean

    Whether end-to-end encryption is enabled for this connection.

    The local participant's view, once connected and until leaving: absent before joining and after a leave or a disconnect.

    The local-media toggle state.

    NoiseFilterEnabled: boolean

    Whether the Krisp noise filter is currently applied to the local microphone.

    All remote participants.

    RoomName?: string

    The room's name, once connected and until leaving: absent before joining and after a leave or a disconnect.

    The connection lifecycle status.