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

    Interface DeviceInfo

    Information about a media device.

    This simplified interface represents a media device with its essential properties. The kind property indicates the type of device (camera, microphone, or speaker).

    const devices: DeviceInfo[] = [
    { deviceId: 'abc123', label: 'FaceTime HD Camera', kind: 'videoinput' },
    { deviceId: 'def456', label: 'MacBook Pro Microphone', kind: 'audioinput' },
    { deviceId: 'ghi789', label: 'MacBook Pro Speakers', kind: 'audiooutput' },
    ];
    interface DeviceInfo {
        deviceId: string;
        kind: "audioinput" | "audiooutput" | "videoinput";
        label: string;
    }
    Index

    Properties

    Properties

    deviceId: string

    Unique identifier for the device

    kind: "audioinput" | "audiooutput" | "videoinput"

    Type of device: camera, microphone, or speaker

    label: string

    Human-readable device label/name