onvif
    Preparing search index...

    Interface DiscoveryOptions

    interface DiscoveryOptions {
        address?: string;
        bufferSize?: number;
        device?: string;
        listeningPort?: number;
        messageId?: string;
        port?: number;
        resolve?: boolean;
        scopes?: Scopes[];
        timeout?: number;
        type?: "udp4" | "udp6";
        types?: Types[];
    }
    Index
    address?: string

    Probe destination host. Default WS_DISCOVERY_IPV4 (or WS_DISCOVERY_IPV6 for IPv6 sockets). Pass a unicast IP for a directed Probe.

    bufferSize?: number

    Receive buffer size in bytes for discovery responses

    device?: string

    Interface to bind on for discovery ex. eth0

    listeningPort?: number

    Client will listen to discovery data device sent

    messageId?: string

    WS-Discovery message id

    port?: number

    Probe destination UDP port. Default WS_DISCOVERY_PORT.

    resolve?: boolean

    Set to false if you want to omit creating of Cam objects. Default true

    scopes?: Scopes[]

    WS-Discovery Probe Scopes. Default empty — match any scope.

    timeout?: number

    Timeout in milliseconds for discovery responses, Default 5000

    type?: "udp4" | "udp6"

    Socket type

    types?: Types[]

    WS-Discovery Probe Types. Default ['tds:Device'] (ONVIF Core §7.3.2.1 — every compliant device advertises this). Pass [] to omit a type filter (match any WS-Discovery type).