OptionalhostTarget hostname (overrides preserveAddress / empty-host default).
OptionalportTarget port. Omit to keep the URI port (e.g. RTSP 554).
OptionalprotocolTarget scheme, with or without trailing : (e.g. rtsp / rtsps:).
OptionaluseEmbed Onvif.username/Onvif.password via withUrlCredentials. Result contains cleartext userinfo -- do not log it.
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).