RTSP vs ONVIF vs HTTP: Which Protocol Should You Use?
RTSP — Real-Time Streaming Protocol
Best for: Live video streaming from IP cameras.
RTSP is the industry standard for transmitting live video over IP networks. Supported by virtually all cameras. Low latency, bandwidth-efficient. Works with browsers via MSE/WebSocket on RTSP.cam. Video only — no camera control (PTZ, settings).
ONVIF — Open Network Video Interface Forum
Best for: Camera discovery, PTZ control, event handling.
ONVIF is a standard for controlling cameras and discovering them on the network. Supports PTZ, motion detection events, and interoperability between brands. Video streaming via ONVIF is usually RTSP underneath.
HTTP — HyperText Transfer Protocol
Best for: Camera web interface, snapshots, configuration.
HTTP is used for the camera admin panel and snapshot URLs. Universal, works through any firewall. MJPEG over HTTP uses 5-10x more bandwidth than RTSP — not suitable for continuous streaming.
When to Use Each
- Just watch video: Use RTSP. Try RTSP.cam.
- Control camera (PTZ): Use ONVIF.
- Admin panel: Use HTTP.
- Take snapshot: Use HTTP URL or ONVIF.
- NVR integration: RTSP for video + ONVIF for control.