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

    Interface UseRemoteCameraOptions

    Options for the useRemoteCamera hook

    interface UseRemoteCameraOptions {
        baseUrl?: string;
        enabled?: boolean;
        expiresIn?: number;
        joinPath?: string;
        label?: string;
        ownerUserId: string;
        roomName: string;
    }
    Index

    Properties

    baseUrl?: string

    Base URL for the QR code link (default: window.location.origin)

    enabled?: boolean

    Whether the hook is enabled (e.g., only when in a room)

    expiresIn?: number

    Token expiry in seconds (default: 300 = 5 minutes)

    joinPath?: string

    Path for the camera page (default: '/camera')

    label?: string

    Label for the ghost camera (default: 'Phone')

    ownerUserId: string

    The owner's userId (used to build the ghost camera userId)

    roomName: string

    The room name to pair the remote camera into