ONVIF: connecting to the RTSP streams
Quick ONVIF connection ("onvifurl://" vs "onvif://")
- to quick connect to the URL without enabling the PTZ and other ONVIF features, use the "onvifurl" prefix, e.g.:
onvifurl://[onvifuser]:[onvifpassword]@[IP address or host name]:[onvif HTTP port]
- to connect to the URL with PTZ support and other ONVIF features enabled, use the "onvif" prefix:
onvif://[onvifuser]:[onvifpassword]@[IP address or host name]:[onvif HTTP port]
RTSPS support
To connect in RTSPS (for the cameras that support it), use the "onvifs" prefix:
- quick connect:
onvifsurl://[onvifuser]:[onvifpassword]@[IP address or host name]:[onvif HTTP port]
- normal connect:
onvifs://[onvifuser]:[onvifpassword]@[IP address or host name]:[onvif HTTP port]
RTSP stream of the first ONVIF media profile (default)
To select the first ONVIF media profile, just specify the host and port:
onvifurl://[onvifuser]:[onvifpassword]@[IP address or host name]:[onvif HTTP port]
or
onvif://[onvifuser]:[onvifpassword]@[IP address or host name]:[onvif HTTP port]
e.g.:
onvifurl://user:pass@192.168.2.55:8080
RTSP stream selected by the index of the ONVIF media profile
The index of the media profile must be in the 0..n-1 range.
onvifurl://[onvifuser]:[onvifpassword]@[IP address or host name]:[onvif HTTP port]/[index of the onvif profile]
or
onvif://[onvifuser]:[onvifpassword]@[IP address or host name]:[onvif HTTP port]/[index of the onvif profile]
e.g.:
onvifurl://user:pass@192.168.2.55:8080/1
onvif://user:pass@192.168.2.55:8080/1
RTSP stream selected by the name of the ONVIF media profile
This is the name of the media profile as it has been configured in the IP camera settings.
onvif://[onvifuser]:[onvifpassword]@[IP address or host name]:[onvif HTTP port]/[name of the onvif media profile]
e.g. by supposing the name of the profile is "high quality":
onvif://user:pass@192.168.2.55:8080/high quality