onvif
    Preparing search index...

    Interface Uplink

    Uplink service

     const uplinks = await cam.uplink.getUplinks();
    console.log(uplinks.configuration?.[0]?.remoteAddress);
    await cam.uplink.setUplink({
    configuration: {
    remoteAddress: 'https://uplink.example.com/path',
    userLevel: ['Administrator'],
    },
    });
    interface Uplink {
        onvif: Onvif;
        service: keyof OnvifServices;
        xmlns: string;
        deleteUplink(options: DeleteUplink): Promise<void>;
        getServiceCapabilities(): Promise<Capabilities>;
        getUplinks(): Promise<GetUplinksResponse>;
        request<T = any>(
            body: Record<string, any>,
            options?: LineraseOptions,
        ): Promise<T>;
        setUplink(options: SetUplink): Promise<void>;
    }

    Hierarchy (View Summary)

    Index
    onvif: Onvif
    service: keyof OnvifServices
    xmlns: string
    • Adds or modifies an uplink configuration. RemoteAddress is used to decide whether to update an existing entry or create a new one.

      Parameters

      Returns Promise<void>