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

    Interface CameraMenuProps

    Props for the CameraMenu component

    interface CameraMenuProps {
        activeCameras: ActiveCamera[];
        availableDevicesForAdd: MediaDevice[];
        colors: ControlBarColors;
        disabled: boolean;
        hasClient: boolean;
        icons: ControlBarIcons;
        isChangingVideoDevice: boolean;
        isLocalTileHidden: boolean;
        isPhoneCameraConnected?: boolean;
        isVideoMuted: boolean;
        labels: ControlBarLabels;
        onAddCamera: (deviceId: string, label?: string) => void;
        onMenuOpenChange?: (open: boolean) => void;
        onPhoneCameraDisconnect?: () => void;
        onPhoneCameraRequested?: () => void;
        onRemoveCamera: (id: string) => void;
        onToggleLocalTile: () => void;
        onToggleVideo: () => void;
        onVideoDeviceChange: (deviceId: string) => void;
        selectedVideoDevice: string;
        styles: ControlBarStyles;
        videoDevices: MediaDevice[];
    }
    Index

    Properties

    activeCameras: ActiveCamera[]

    List of active additional cameras

    availableDevicesForAdd: MediaDevice[]

    Available video devices for adding new cameras (filtered list)

    disabled: boolean

    Whether controls are disabled

    hasClient: boolean

    Whether a client connection exists

    isChangingVideoDevice: boolean

    Whether the primary video device is changing

    isLocalTileHidden: boolean

    Whether the local tile is currently hidden

    isPhoneCameraConnected?: boolean

    Whether a phone camera is currently connected

    isVideoMuted: boolean

    Whether primary video is currently muted

    onAddCamera: (deviceId: string, label?: string) => void

    Add a new additional camera

    onMenuOpenChange?: (open: boolean) => void

    Auto-hide integration callback

    onPhoneCameraDisconnect?: () => void

    Callback to disconnect the phone camera

    onPhoneCameraRequested?: () => void

    Callback when "Use Phone as Camera" is requested. Shows the menu item when provided.

    onRemoveCamera: (id: string) => void

    Remove an additional camera by ID

    onToggleLocalTile: () => void

    Toggle local tile visibility

    onToggleVideo: () => void

    Toggle primary camera video mute

    onVideoDeviceChange: (deviceId: string) => void

    Switch primary camera device

    selectedVideoDevice: string

    Currently selected primary video device ID

    videoDevices: MediaDevice[]

    Available video devices for the primary camera