onvif
    Preparing search index...

    Interface RewriteUriOptions

    Options for Onvif.rewriteUri (Media / Replay URI strings). Default host rewrite follows OnvifOptions.preserveAddress; port stays unless you pass port (do not use the SOAP constructor port for RTSP unless you mean to).

    interface RewriteUriOptions {
        host?: string;
        port?: string | number;
        protocol?: string;
        useCredentials?: boolean;
    }
    Index
    host?: string

    Target hostname (overrides preserveAddress / empty-host default).

    port?: string | number

    Target port. Omit to keep the URI port (e.g. RTSP 554).

    protocol?: string

    Target scheme, with or without trailing : (e.g. rtsp / rtsps:).

    useCredentials?: boolean

    Embed Onvif.username/Onvif.password via withUrlCredentials. Result contains cleartext userinfo -- do not log it.