What Are RTSP and ONVIF? Connecting IP Cameras to AI Video AnalyticsRTSP and ONVIF explained for operations and security teams: how video streams are pulled from IP cameras and NVRs, main vs sub-streams, ONVIF profiles and security best practice.2026-10-03
The two standards that make it possible to add AI analytics to mixed-brand camera estates — explained without jargon.
RTSP (Real Time Streaming Protocol) is the common way to pull a live video stream from an IP camera or network video recorder (NVR). ONVIF is an industry standard that lets devices from different manufacturers be discovered and configured in a common way. Together, they are why an analytics system can usually work with cameras that are already installed.

How RTSP works
A client — a VMS, a media player or an analytics server — connects to the camera’s RTSP address with credentials and requests a stream. RTSP handles session control; video data is usually carried over RTP. The address format varies by manufacturer and typically includes the IP address, a port (often 554) and a stream path.
Main stream vs sub-stream
Most cameras offer a high-resolution main stream for recording and a lower-resolution sub-stream for live view. Which one analytics should use depends on the task: detecting a person in a zone may work on a sub-stream, while checking safety glasses usually needs the main stream.
What ONVIF adds
ONVIF conformance applies to specific profiles; manufacturer-specific features may sit outside the standard. Check the vendor’s declaration for the exact device.
- Profile S: basic streaming and configuration — the most widely supported.
- Profile T: advanced streaming (e.g. H.265) and event handling.
- Profile G: on-device recording and retrieval.
- Profile M: analytics metadata and events.
Security best practice
Hype Vision connects to existing cameras over these standards and processes video on-premise. To check your cameras, request a camera assessment or read how to evaluate cameras for computer vision .
Not sure what is feasible on your site? Send a few camera frames and your use case.
- Never expose RTSP ports to the internet; keep cameras on a segmented network.
- Change default passwords and create a view-only account for analytics.
- Use VPN for any remote access.
Frequently asked questions
Often yes, if the NVR can serve the required number of simultaneous streams without re-encoding them to low quality.
They need an encoder or DVR that exposes an IP stream; older analog image quality may limit what can be detected.
Related pages
Related solutions
More resources
Edge vs Cloud Video Analytics: What Is On-Premise Video Analytics?
Where should video be processed? A practical comparison for plants, warehouses and multi-site operations.
Planning AI Video Analytics Architecture for 50–100 Cameras
Going from one pilot camera to a site-wide deployment: the architecture decisions that drive cost and reliability.
How to Evaluate Existing Cameras for Computer Vision
Before buying new cameras, check these six criteria — and why camera angle often matters more than the model.
Related solutions
Frequently asked questions
Can analytics connect through the NVR instead of each camera?
Often yes, if the NVR can serve the required number of simultaneous streams without re-encoding them to low quality.
What about analog cameras?
They need an encoder or DVR that exposes an IP stream; older analog image quality may limit what can be detected.
What can AI detect in your factory?
Let's review together which safety, quality and production analytics your existing security cameras can deliver.
- Free 15-minute technical call
- Camera infrastructure pre-assessment
- Feasible AI scenarios