Member Junction
    Preparing search index...

    Fired before the active input/output device is switched. Cancelable.

    interface LiveKitBeforeDeviceSwitchEvent {
        Cancel: boolean;
        DeviceId: string;
        Kind: "audioinput" | "videoinput" | "audiooutput";
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    Cancel: boolean

    Set to true in a handler to cancel the pending action. Defaults to false.

    DeviceId: string

    The target device id.

    Kind: "audioinput" | "videoinput" | "audiooutput"

    The device kind being switched.