Video Streaming - RTSP

Have more questions? Submit a request

Video Streaming - RTSP

Introduction

SureView Ops provides a number of predefined RTSP integration types however, there may be instances where you have a device that is not in the list.

In these cases you can use the RTSP integration which allows you to view any RTSP video stream simply by providing the RTSP URL.

Requirements

To use an RTSP video stream:

  1. Your device or system must have an RTSP URL which...
    1. is Static (does not change each time you need to connect)
    2. works in VLC (if it does not work in VLC then it will not work in SureView Ops please contact your manufacturer)
  2. Your device or system's RTSP port (default 554) must be accessible from your Ops Link
  3. The stream's encoding must be set to H.264 (see Video Requirements)

Finding your RTSP URL

To use the integration you will need to know the static RTSP URL for your device or system.

You can find this in a number of places:

  1. From your manufacturer: In the documentation or website provided by the manufacturer of your security device
  2. Online search: There are a number of online lists that provide RTSP URLs for common security manufacturer devices (do a Google search for "YourManufacturerName RTSP URL")
  3. Using a network search tool: Use a network search tool such as the ONVIF Device Manager to find cameras on your network

Note: some systems use "dynamic" RTSP URLs which have to be requested before you connect and are different every time. These types of systems are not supported by SureView Ops, please contact your manufacturer.

Testing your RTSP URL

You should test that your RTSP URL works before you enter it in SureView Ops. To do this you can use the free open-source VLC Media Player program. Go to Media -> Open Network Stream and provide the RTSP URL for your camera in order to check that you get live video.

NOTE: If your camera does work in VLC then it will not work in SureView Ops either. In this case contact your manufacturer to have them help you to find a working RTSP URL.

VLCRTSP.png

Adding to Ops

Go to the Device Setup screen and add a new device. You will need to provide:

  • Device Type: RTSP
  • OpsLink: choose the OpsLink connected to the network the device is on
  • Host: the network address of the device
  • Port: the RTSP port (usually 554)
  • Username: the username for the device
  • Password: the password for the device
  • RTSP URL Ending: the "PathAndParameters" part of the RTSP URL

For example, for the RTSP URL ofrtsp://192.168.1.30:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1: the Host is 192.168.1.30, the Port is 554, and the URL Ending is Streaming/Channels/101?transportmode=unicast&profile=Profile1

Advanced RTSP URL Placeholders

For advanced users the RTSP URL Ending supports a number of placeholders that will be filled in automatically. These include:

  • "{#}" will be filled in with the camera input number
  • "{Q:ValueForLow|ValueForMedium|ValueForHigh}" will be filled in depending on what the user selects in the Quality drop-down which allows you to switch between the different quality streams available on the camera (note that asking for higher quality streams than the site's network can support may lead to video performance issues - refer to Video Requirements for guidance).

Examples

RTSP URLs start with "rtsp://user:password@host:port" and then have a manufacturer-specific ending with some examples noted here:

Name RTSP URL Ending Comment
Avigilon

/defaultSecondary?streamType=u

-or-

/rtsp/defaultSecondary?streamType=u

Only has one channel.

Not all models support the secondary stream

Axis

/axis-media/media.amp?videocodec=h264&audio=0&camera={#}&compression=30&resolution=640x480&fps=8

Axis allow full customization of the data sent by the device in the RTSP request.
Dahua

/cam/realmonitor?channel={#}&subtype=1

 
Hanwha (formerly Samsung)

/profile2/media.smp

The "profile#" relates to the "Video Profiles" set up on the camera (usually defaults to MJPEG=1 and low quality H.264=2)
Hikvision

/Streaming/Channels/{#}02

The number on the end is "/CSS" where C=camera number and SS=stream number i.e. 102 is the 1st camera's 2nd stream
Mobotix

/mobotix.h264

-or-

/stream/profile1

URL is model and firmware dependent - refer to the link for more information

 

Network Diagrams

Via Ops Link (recommended)

Integration

Direct (not recommended - requires open firewall pots)

Integration

 

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.