Member Junction
    Preparing search index...

    A room's live turn-taking state.

    interface LiveKitRoomTurnState {
        Agents: LiveKitRoomTurnAgent[];
        AgentSessionIds: string[];
        BackchannelCount: number;
        ConsecutiveAgentTurns: number;
        FacilitatorAgentSessionId: string;
        FloorHeldSinceMs: number;
        FloorHolderAgentSessionId: string;
        HumanSpeaking: boolean;
        LoopCapReached: boolean;
        MaxConsecutiveAgentTurns: number;
        PendingHandoffToAgentSessionId: string;
        RecentEvents: LiveKitRoomTurnEvent[];
        RoomId: string;
    }
    Index

    Properties

    The agents seated in the room.

    AgentSessionIds: string[]

    The agent session ids seated in the room.

    BackchannelCount: number

    How many backchannels the room has recorded.

    ConsecutiveAgentTurns: number

    Consecutive agent turns since a person last spoke.

    FacilitatorAgentSessionId: string

    The facilitator's agent session id, or null.

    FloorHeldSinceMs: number

    Epoch-ms the holder took the floor, or null.

    FloorHolderAgentSessionId: string

    The agent session holding the floor, or null when it is free.

    HumanSpeaking: boolean

    Whether a person is speaking right now.

    LoopCapReached: boolean

    Whether the loop cap is reached — agents are passive until a person speaks.

    MaxConsecutiveAgentTurns: number

    The cap on consecutive agent turns for this room.

    PendingHandoffToAgentSessionId: string

    The agent session the floor is reserved for after a hand-off, or null.

    RecentEvents: LiveKitRoomTurnEvent[]

    The most recent events, oldest first.

    RoomId: string

    The room.