I. What RTSP Link?
Real Time Streaming Protocol (RTSP) – Real-Time Communication Protocol is a network communication control protocol at the application layer designed for use in entertainment and communication systems to control servers containing multimedia data ( streaming media). This protocol is used to establish and control communication sessions between end stations. Media server clients issue VCR-style commands, such as play, record, and pause, for real-time control of server-to-client streaming media (Video On Demand). ) or from client to server (Voice Recording).
From WIKIPEDIA – Open Encyclopedia
II. Some features of RTSP
- Multi-server capability: Ability to present media streams from different media servers
- Negotiability: The client’s server can find out if basic features are enabled
- HTTP Friendly: It uses HTTP concepts whenever possible
- Ease of Parsing: An HTML or MIME parser that can be used in a real-time streaming protocol
- Extensibility: New parameters or methods can be easily added in the protocol
- Friendly Firewall: Both application layer and transport layer firewalls can be easily handled by protocol means
- Server Control: Have proper control on the server. The server cannot stream to the client in any way so the client cannot stop streaming.
- Better suited for media applications: Frame-level precision and use of SMPTE timestamps for digital editing make the protocol more suitable for applications.
III. Sample RTSP link from Camera supplier
1. Dahua, Kbvision, KBONE, Imou RTSP stream (Cameras & NVR, XVR& DVR)
rtsp://<ip>:<port>/cam/realmonitor?channel=<channelNo>&subtype=<typeNo>
(NVR, DVR, XVR)
rtsp://<ip>:<port>/cam/realmonitor?channel=<channelNo>&subtype=<typeNo>&unicast=true&proto=Onvif
(IPC)
In particular:
<ip>
– Device IP address
<port>
– RTSP Port (Default 554)
<channelNo>
– Video channels get images (Starting from 1)
<typeNo>
– 0 (main stream) or 1 (sub stream)
Example: rtsp://192.168.1.210:554/cam/realmonitor?channel=1&subtype=1
will stream substream 1 video from channel 1 .
2. Hikvision, Hilook RTSP Stream (NVR & IPC)
rtsp://<ip>:<port>/Streaming/Channels/<id>
(NVR, DVR)
rtsp://<ip>:<port>/Streaming/Unicast/channels/<id>
(IPC)
rtsp://<ip>:<port>/cam/realmonitor?channel=1subtype=<typeNo>
(C6N)
In particular:
<ip>
– Device IP address
<port>
– RTSP Port (Default 554)
<id>
– Live stream channel (101 – Channel 1 main stream, 202 – Channel 2 sub stream, …)
<typeNo>
– 0 (main stream) or 1 (sub stream)
Example: rtsp://192.168.1.210:554/Streaming/Channels/301
will stream the main stream video channel number 3.
3. EZVIZ RTSP Stream (IPC)
rtsp://admin:<device verification code>@<device IP address on the LAN>:554/H.264
See more tutorials here.
4. Uniview RTSP Stream (NVR & IPC)
rtsp://<ip>:<port>/unicast/c<channel number>/s<stream type>/live
In particular:
<ip>
– Device IP address
<port>
– RTSP Port (Default 554)
<channel number>
– Video channels get images (Starting from 1)
<stream type>:
– 0 (main stream) or 1 (sub stream)
Example: rtsp://admin:12345scw@192.168.1.210/unicast/c2/s2/live
will stream the sub-stream of channel number 2.
5. Axis RTSP Stream
rtsp://<ip>/axis-media/media.amp
In particular:
<ip>
– Device IP address
Example: rtsp://192.168.1.210/axis-media/media.amp
6. ACTI RTSP Stream
rtsp://<ip>/
In particular:
<ip>
– Device IP address
Note: You can use Onvif Device Manager to extract the RTSP link from the device correctly.
Example: rtsp://192.168.1.99/
7. Honeywell, Questek, J-Tech, Nichietsu RTSP Stream
Honeywell, Questek, J-Tech, Nichietsu use different hardware and software manufacturers depending on the year, series, etc. We recommend you try some Hikvision and Dahua URL RTSPs to see if they work.
Or use software Onvif Device Manager to extract the RTSP link from the device.
8. Avigilon RTSP Stream
http://<username>:<password>@<generated RTSP Stream URI>/
In particular:
<generated RTSP Stream URI>
: Avigilon RTSP streams are generated in the Camera web UI.
9. Samsung / Hanwha Techwin Camera RTSP Stream
rtsp://<ip>:<port>/profile<stream type>/media.smp
In particular:
<ip>
– Device IP address
<port>
– RTSP Port (Default 554)
<stream type>
– 1 (main stream) or 2 (sub stream)
Example: rtsp://192.168.1.210:554/profile1/media.smp
will stream main stream from Camera with ip: 192.168.1.210
10. Samsung / Hanwha Techwin NVR RTSP Stream
rtsp://<ip>:<port>/LiveChannel/0/media.smp
In particular:
<ip>
– Device IP address
<port>
– RTSP Port (Default 554)
Note: LiveChannel/0/
“0” is the channel number and starts at 0.
Example: rtsp://192.168.1.210:554/LiveChannel/0/media.smp
will play channel 1 of the DVR directly
11. Swann camera RTSP Stream
rtsp://<ip>:<port>/ch01/<stream type>
In particular:
<ip>
– Device IP address
<port>
– RTSP Port (Default 554)
<stream type>
– 0 (main stream) or 1 (sub stream)
Note: Swann uses a variety of hardware and software lines and RTSP lines. You may have to contact tech support for the specific model. Sometimes they use Hikvision APIs.
12. Arecont Vision RTSP Stream
rtsp://<ip-addr>/h264.sdp
In particular:
<ip-addr>
– Device IP address
Example: rtsp://192.168.1.210/h264.sdp
will stream directly from Camera with ip address: 192.168.1.210
13. Pelco RTSP stream
rtsp://<ip address>/stream1
In particular:
<ip address>
– Device IP address
Example: rtsp://192.168.1.210/stream1
will stream directly from Camera with ip address: 192.168.1.210
14. Lorex RTSP stream
Lorex uses different hardware and software manufacturers depending on the year, series, etc. We recommend you to try some Dahua and Hikvision URLs to see if they work
Some Lorex devices, especially battery powered models, are designed primarily to work exclusively on Lorex devices, it is possible that RTSP or the Onvif function may have been disabled.
15. Yoosee, Siepem RTSP stream
rtsp://<ip address>:<port>/onvif<stream type>
In particular:
<ip>
– Device IP address
<port>
– RTSP port (Default 554 howjc 5554)
<stream type>
– 1 (main stream) or 2 (sub stream)
Example: rtsp://192.168.1.210/onvif1
will stream main stream from Camera with ip address: 192.168.1.210
IV. Usage Notes
Some product vendors may use different software and hardware depending on the year, model, etc. So if you cannot use the sample RTSP links as above, you can get the link directly from the device using the software. Onvif Device Manager.