NVR can use different profiles according to streaming purposes. When trying to view a specific stream of NVR through RTSP, it is not clear which profile to look for. At this time, through the following CGI command, you can easily check the streaming profile number for each channel.
1. Getting every profile of every channel in NVR
1) CGI command
http://<ip_addr>:<port>/stw-cgi/media.cgi?msubmenu=videoprofilepolicy&action=view
2) Result sample
Channel.2.NetworkProfile=6
Channel.2.LiveProfile=3
Channel.2.RecordProfile=2
Channel.2.LiveMode=Auto
Channel.3.NetworkProfile=4
Channel.3.LiveProfile=4
Channel.3.RecordProfile=3
Channel.3.LiveMode=Manual
Channel.5.NetworkProfile=5
Channel.5.LiveProfile=5
Channel.5.RecordProfile=3
Channel.5.LiveMode=Manual
2. Getting RTSP streaming
1) RTSP command
rtsp://<ip_addr>:<last Device Port>/LiveChannel/<Channel Number>/media.smp/profile=<num>
2) Note
- Device port is the last device port.
- Channel Number starts 0. Therefore, Channel 1 of NVR is 0, Channel 2 of NVR Is 1 in rtsp.
3) Profile Number
- Every profile of the connected camera can be used in the RTSP streaming address.
3. Profile information of NVR
1) NetworkProfile
- NVR path: Setup > Network > Live Streaming
2) LiveProfile (& LiveMode)
- NVR path: Setup > Device > Camera > Live Setup
3) RecordProfile
- NVR path: Setup > Record > Record Setup > Camera
4. Getting Stream URI
Stream URI can be obtained from the NVR through the following CGI. The CGI works for some profile which are used in the NVR only.
The reponse is like the below.
URI=rtsp://<ip_addr>/LiveChannel/0/media.smp/profile=2