Hiyve Components - v1.0.0
    Preparing search index...

    Interface DeviceClient

    Client interface for device management operations

    interface DeviceClient {
        getAudioOutputDeviceId?(): string | null | undefined;
        getLocalAudioInputDeviceId?(): string | null | undefined;
        getLocalVideoDeviceId?(): string | null | undefined;
        listAudioInputDevices(): Promise<{ deviceId: string; label: string }[]>;
        listAudioOutputDevices?(): Promise<{ deviceId: string; label: string }[]>;
        listVideoDevices(): Promise<{ deviceId: string; label: string }[]>;
        setAudioOutputDevice?(
            options: { audioOutputDeviceId: string },
        ): Promise<void>;
        setLocalAudioInputDevice(
            options: { audioInputDeviceId: string },
        ): Promise<void>;
        setLocalVideoDevice(options: { videoDeviceId: string }): Promise<void>;
    }
    Index

    Methods

    • Current device ids actually in use — used to reflect the active device in the menu rather than defaulting to the first enumerated device.

      Returns string | null | undefined