Member Junction
    Preparing search index...

    The current local-media toggle state (what the human is publishing).

    interface LiveKitLocalMediaState {
        AgentVisionOn?: boolean;
        CameraEnabled: boolean;
        MicrophoneEnabled: boolean;
        ScreenShareEnabled: boolean;
        ScreenSharePanelLabel?: string;
        ScreenShareSurface?: CapturedDisplaySurface;
    }
    Index

    Properties

    AgentVisionOn?: boolean

    Whether the local participant lets agents see their camera and shared screen: their own choice, whether or not an agent watches now. Absent means no.

    CameraEnabled: boolean

    Whether the local camera is enabled (publishing video).

    MicrophoneEnabled: boolean

    Whether the local microphone is enabled (publishing audio).

    ScreenShareEnabled: boolean

    Whether the local participant is sharing their screen.

    ScreenSharePanelLabel?: string

    The shared panel's name, while the local participant shares one panel of the page that was given a name (DisplayCaptureOptions.PanelLabel). The share preview names it.

    ScreenShareSurface?: CapturedDisplaySurface

    What the local participant is sharing (an entire screen, a window or a tab), while they share.