ONVIF vs RTSP: what the camera logo does not guarantee

An RTSP stream gives you video, while ONVIF features depend on profiles and firmware. See what to check before adding cameras to a VMS.

A security camera is mounted beside a window above a computer monitor.

Anis TrikiWritten by Anis TrikiCEO and co-founder of Sentrallia

Published on

13 min read

Contents6 sections
  1. How ONVIF and RTSP work together
  2. Choose the connection route by required function
  3. What the ONVIF logo actually guarantees
  4. Test every required function before acceptance
  5. Check ports, transport and security separately
  6. Frequently Asked Questions

Comparing ONVIF with RTSP comes down to a practical split: RTSP sets up the video stream, while ONVIF is the standard that finds, configures and controls a camera. Here you will see how the two fit together, when RTSP is enough and why an ONVIF logo is no promise. You also get a comparison table and a way to test each function.

How ONVIF and RTSP work together

When you connect a multi-brand camera to a video management system (VMS), two layers are at work. One opens and controls the video session. The other tells the VMS what the camera is and what it can do. If you keep the two apart, most connection faults become easier to trace.

A security camera is mounted beside a window above a computer monitor.
A security camera is mounted beside a window above a computer monitor.

What a video session uses

RTSP (Real Time Streaming Protocol) controls a media session: it asks for a stream, starts it and ends it. Once the session is running, RTP usually carries the video and audio packets. So the control protocol and the transport are separate jobs, even when a single URL seems to handle both.

The session runs through four commands: DESCRIBE lists the available media, SETUP arranges delivery, PLAY starts the stream and TEARDOWN closes it. The stream URL itself names the camera or server, its port and a stream path. Manufacturers choose different paths, and a path can change from one model or firmware version to the next.

What ONVIF contributes

ONVIF is an interoperability standard for surveillance devices and the clients that use them. It does not carry video. Where the device supports it, an ONVIF client can find the device, ask which services and capabilities it has, and read its media profiles, which are the stream settings it offers.

From there, the client asks the device's media service for a live stream URI and then hands that URI to RTSP for the session. That is why the two usually work as a pair: ONVIF finds the stream, RTSP plays it.

What a stream alone cannot establish

A camera can serve an RTSP stream without being ONVIF-conformant at all. A working video connection therefore says nothing about the rest. With RTSP alone, you get no device discovery, no camera configuration, no events sent by the camera and no PTZ (pan, tilt, zoom) commands.

Recordings are a separate matter again. A live stream does not show the client which recordings are stored on a camera or recorder, and it does not prove that the client can retrieve them. To get stored footage back, the connection has to provide those functions, as the profiles below explain.

Choose the connection route by required function

As shown above, a stream and a set of controls are different things. The right route depends on what the control room has to do with each camera: watch it, record it, move it, receive its alarms or replay what it has stored. Match each of these functions to a route before you look at any logo.

A person walks across a wet loading bay beside a white lorry backed up to a warehouse door.
A person walks across a wet loading bay beside a white lorry backed up to a warehouse door.

Compare the three routes

From the operator's chair, the question is simple: which route delivers the functions you need on this camera? The table compares the three. In every case, what is actually available depends on the device, the VMS and their versions.

FunctionRTSP stream onlyONVIFDirect manufacturer integration
Live viewYes, once testedYes, through a stream URI handed to RTSPYes
Recording into VMS storageYesYesYes
Discovery and configurationNoWhere the device and client support itDevice-specific controls may be available
Camera-sent events and PTZNoDepends on profiles and implementationDepends on device and VMS versions
Playback of camera or NVR storageNoWith Profile G on both sidesDepends on the integration
Proprietary analyticsNoMay be unavailableMay be exposed

How Sentrallia connects mixed brands

In our experience at Sentrallia, many manufacturers implement only part of ONVIF: live view works, but playback, some events or some settings are missing. That is a pity, and it is why Sentrallia integrates  Hikvision, Dahua, Axis, Bosch, Hanwha Vision, Uniview, UniFi Protect and Reolink directly, with their functions, playback included. For cameras from other manufacturers, Sentrallia falls back on ONVIF. The direct route covers the brands it integrates, and the standard covers the rest. You keep one piece of software for the whole estate, with each brand's own functions, beyond what ONVIF alone allows.

Whichever route a device uses, the operator works in the same place. Sentrallia shows connected cameras and recorders in one live view, with video search, timeline playback and clip export across brands. Its multi-brand video surveillance software brings live view and playback together, whichever brand the camera comes from.

Adding and managing connected devices

On the ground, you add a camera by network search, serial number or QR code, whatever its brand. After that, Sentrallia gives you shared screens for camera settings such as image, recording schedules, zones and passwords, and it can configure a group of cameras in one go. This is part of its centralised site and device management.

The hardware comes with the service. Sentrallia delivers its machine and installs it on the customer's site, so the customer has nothing to install. Video, recordings and AI analysis all run on that machine, without going through a cloud.

What the ONVIF logo actually guarantees

Since ONVIF is the fallback route for many cameras, it is worth being clear about what the logo means. It shows that a product has gone through a conformance process. It does not show that the functions your site depends on will work with your VMS.

Conformance belongs to a specific version

First, the listing has to match the hardware actually installed. Check ONVIF's Conformant Products database for three things:

  • The exact firmware version: conformance belongs to one product and version, and a later firmware does not automatically inherit an earlier listing.
  • The exact camera model: a manufacturer being an ONVIF member does not make every camera or recorder it sells conformant.
  • The basis of the claim: conformance rests on the manufacturer's own declaration after testing.

Because the manufacturer declares conformance itself, the listing tells you nothing about optional functions or how well they are implemented. A camera can pass and still behave in ways that do not suit your installation. The listing is where you start, and site testing has to confirm it.

What profiles S, T and G cover

Profile S covers basic video streaming. ONVIF will stop accepting submissions for new Profile S conformance on 31 March 2027. Profile S installations already in service will keep running after that date, so your existing estate is not switched off.

ONVIF recommends Profile T as the replacement. It covers advanced streaming, including H.264 and H.265, as well as motion and tamper events. However, it leaves out some older Profile S features: MJPEG, MPEG-4, IP filtering and username-token authentication. Check whether a site still depends on any of these before you change profile.

Profile G deals with stored footage: recording configuration, search and retrieval from the device's storage. To replay footage held on a camera or NVR, both the recording device and the client have to support it. If only one side supports Profile G, you get live video but no recording catalogue.

Why matching profiles are not enough

Analytics show how narrow a profile label can be. Profile M covers analytics metadata and events, but a camera's proprietary classifications may still not appear as searchable metadata in a third-party VMS. PTZ is similar. Profile T requires a conformant client to support PTZ, but a fixed camera still has no PTZ service to control. For analytics, Sentrallia does not depend on the camera: its AI, Œil, analyses the footage itself on the machine installed on your site, whatever the brand.

Each profile is made up of mandatory and conditional functions. Two products with the same profile label can therefore differ on exactly the optional function your site needs, such as a particular event or audio. The only reliable answer comes from testing each function on the real pairing.

Test every required function before acceptance

A commissioning test turns those caveats into evidence. Accept each pairing of camera or recorder channel with the VMS function by function, and record the result. If a site is later handed to a monitoring centre, that record shows what was proven and on which versions.

Identify the pairing and establish access

Start by writing down exactly what you are accepting, because a result only holds for the versions it was tested on. For each pairing, record:

  • Hardware: camera model or NVR channel, and hardware revision.
  • Software: camera firmware and VMS version.
  • ONVIF profiles: those the device advertises and those the client supports.
  • Stream and evidence: codec, stream URI and proof of each result.

Next, test discovery and authentication from the VMS network, using the VMS account. Confirm that you have reached the intended device or channel, that the advertised services are correct, and that the identity and time match. A wrong clock at this stage can lead to misleading timestamps later on.

Site by site, discovery may fail for reasons that have nothing to do with compatibility. Before rejecting a device, try its known IP or service address. Then check that ONVIF is enabled, that the service port is right, and whether network segmentation is blocking discovery traffic.

Verify video, settings and alarms

Once access works, test the main stream and the sub-stream from both the recording server and the operator workstation. Check codec, resolution, frame rate, timestamps and any audio you need. Then force a reconnect or reboot and repeat the live checks, because a stream that comes back on its own is part of acceptance.

A stream does not prove that you can change settings, so make one agreed, reversible change through the chosen route, confirm it on the camera, restore it and check that it persists. Then trigger each required motion, tamper or digital-input event physically. Verify its source, camera identity, VMS rule, alarm receipt, images and reset at the monitoring position.

Check PTZ and stored footage

On a PTZ camera, test pan, tilt, zoom and Stop as separate commands, along with the permitted limits and the required presets. A PTZ control on screen does not mean every command reaches the camera. A Stop command that fails, for example, leaves the operator chasing a moving image.

Test VMS-held recordings separately from those on the camera or NVR: go to a known time, replay the correct channel and export footage with accurate timestamps. For Profile G, simulate a storage or network outage and an interval with no footage, so the operator can tell recovered video from a gap. Repeat the checks over the remote monitoring route.

Check ports, transport and security separately

Many faults found during testing come down to the network. Discovery, device services and streaming use different paths, so a firewall can allow one and block another. Check each path on its own, and protect each one on its own as well.

Which ports does each service use?

Each service has its own conventions, and none of them is guaranteed on a particular camera:

  • Discovery: usually UDP port 3702 with multicast, which may not cross a VLAN or a router without suitable configuration.
  • Device services: HTTP or HTTPS at the address the device advertises. TCP ports 80 and 443 are common examples, not fixed ONVIF ports.
  • Streaming: TCP port 554 is the conventional RTSP default, 8554 is a registered alternative, and RTSPS usually uses port 322.

What counts is the RTSP port actually configured on the camera and written in its stream URL. Read both in the camera's network settings rather than assuming the default. A camera moved to 8554 will look dead on 554.

Why a connected stream can still fail

A common trap: the RTSP control connection succeeds, yet no image appears. RTP media usually travels over UDP, which a router or firewall may block. In that case, interleaving RTP and RTCP inside the RTSP TCP connection is worth testing.

When live video fails, work through the chain in order. Check that the camera is reachable, then the URL and port, the credentials and the codec. Next, confirm the selected stream and the transport, then the firewall rules. Finally, check the camera's connection limit, which a forgotten engineering laptop can quietly use up.

A camera behind an NVR may only be available through a recorder channel rather than directly. Confirm the channel numbering and the account's permissions. Then check whether the recorder passes on the camera's own events, since some recorders forward video but not alarms.

Protect each connection path

Authentication and encryption are separate questions. RTSP Basic authentication only Base64-encodes the credentials, while Digest avoids sending the password itself. Neither encrypts the video, so choosing Digest improves login security but does not protect the footage.

Neither ONVIF conformance nor plain RTSP guarantees encrypted video. Check the camera-to-VMS path and the VMS-to-viewer path separately. RTSPS protects a session with TLS only when the camera and the client both support it and are correctly configured for the same secure connection.

A forwarded port for RTSP exposes the camera service beyond the LAN. Use controlled remote connectivity instead of unnecessary public port forwarding. Give the connection an account that has only the permissions it needs, which keeps security tight without blocking the required stream and ONVIF functions.

Frequently Asked Questions

What are the disadvantages of using ONVIF?

A cross-brand ONVIF connection may not give you proprietary analytics, specialised motion detection, image processing or manufacturer-specific alarms. Interoperability can also vary with firmware, authentication methods and implementation, even between products that all advertise ONVIF support.

Which port does ONVIF use?

ONVIF has no single port. Discovery usually uses UDP port 3702 with multicast, which may not cross a VLAN or routed network without configuration. Device services use HTTP or HTTPS at the address the device advertises. Ports 80 and 443 are common examples, and the actual ports vary by manufacturer and configuration.

Does a camera firmware or VMS update mean the connection needs retesting?

Yes. After an update, retest every function the installation relies on, not just whether live video still appears. ONVIF conformance applies to an exact product and version, and a later firmware does not automatically inherit an earlier listing in ONVIF's Conformant Products database.

Sources

  1. 01securitybros.comUnderstanding rtsp on security cameras benefits and limitations
  2. 02streamloop.app
Anis Triki

Written by Anis Triki

CEO and co-founder of Sentrallia

Sentrallia was founded by Logetel, which has made alarm monitoring software for 30 years, and by Sedestral, a specialist in AI agents.

About the company

Sees everything. Stays with you.

Book a demo