Features Verticals Cameras Conferences Pricing Contact Log In Get Started
Integration Guide

Uniview Integration Guide

Connect Uniview (UNV) IP cameras and NVRs to AgenticEye for intelligent AI monitoring. This guide covers RTSP streaming, ONVIF discovery, and configuration for the IPC3614SR3-DPF series and Uniview NVR systems.

RTSP ONVIF HTTP API NVR Bridge

Prerequisites

Before You Begin

  • A Uniview IP camera or NVR connected to your local network via Ethernet (PoE recommended)
  • Camera firmware updated to the latest version via the Uniview web interface or EZTools
  • Admin credentials for the camera (default username is admin, password set during initialization)
  • Camera IP address — use Uniview EZTools discovery utility or check your DHCP server
  • Network access on ports 554 (RTSP) and 80 (HTTP/ONVIF) between AgenticEye and the camera
  • AgenticEye platform account with an active subscription

Supported Models

Verified with the following Uniview models. Most UNV cameras running firmware 3.x or later are compatible.

  • IPC3614SR3-DPF — 4MP dome with smart IR, ideal for indoor/outdoor general surveillance
  • IPC3615SR3-ADF — 5MP dome with auto-focus for high-detail capture
  • IPC2324LBR3-SPZ28-D — 4MP LightHunter bullet for extreme low-light environments
  • IPC6852SR-X44U — 2MP 44x PTZ for wide-area monitoring and tracking
  • NVR302-16S2 — 16-channel NVR (streams can be pulled from NVR directly)
  • NVR304-32S2 — 32-channel NVR for enterprise deployments

Step-by-Step Setup

1
Enable RTSP Streaming

RTSP is enabled by default on Uniview cameras. Verify and configure the stream parameters.

  1. Open a browser and navigate to http://[camera-ip]
  2. Log in with admin credentials
  3. Navigate to Setup → Network → RTSP
  4. Confirm RTSP is enabled and the port is set to 554
  5. Under Authentication, select Digest (recommended) or Digest/Basic
  6. Navigate to Setup → Video → Video to configure stream quality:
    • Stream 1 (main): H.264, full resolution, 15-20 FPS, CBR 4096-6144 Kbps
    • Stream 2 (sub): H.264, 1280x720 or 640x360, 10 FPS, CBR 1024 Kbps
    • Stream 3 (mobile/third): H.264, 352x288, 10 FPS, 512 Kbps
# Verify RTSP access:
ffprobe -rtsp_transport tcp \
  "rtsp://admin:[email protected]:554/unicast/c1/s0/live"
2
Configure ONVIF Discovery

ONVIF allows AgenticEye to automatically discover your Uniview cameras on the network and query their capabilities.

  1. Navigate to Setup → Network → ONVIF
  2. Set ONVIF to Enable
  3. The default ONVIF port is 80
  4. Under ONVIF user management, add a user for AgenticEye. Uniview cameras typically share the same user database for ONVIF and system access, but verify this under the ONVIF settings page
  5. Enable WS-Discovery for automatic network discovery
  6. Optionally enable ONVIF Compatibility Mode if you encounter issues with third-party ONVIF clients (see Troubleshooting section)
# ONVIF device service URL:
http://192.168.1.100:80/onvif/device_service

# Test ONVIF connectivity:
from onvif import ONVIFCamera
cam = ONVIFCamera('192.168.1.100', 80, 'admin', 'YourPassword')
info = cam.devicemgmt.GetDeviceInformation()
print(f"Manufacturer: {info.Manufacturer}")
print(f"Model: {info.Model}")
print(f"Firmware: {info.FirmwareVersion}")
3
Stream Configuration and Optimization

Optimize stream settings for AgenticEye's AI analysis pipeline. The sub-stream is typically used for real-time analysis while the main stream is used for recording and detailed review.

  1. Navigate to Setup → Video → Video
  2. For AgenticEye AI analysis, configure Stream 2 (sub stream):
    • Encoding: H.264 (best compatibility with AI pipeline)
    • Resolution: 1280x720 (sufficient for most AI detection tasks)
    • Frame Rate: 10-15 FPS
    • Bitrate Control: CBR for consistent network usage
    • I-Frame Interval: 30-50 (1-2x the frame rate)
  3. If your AgenticEye plan supports 4K analysis, use Stream 1 instead with appropriate bandwidth allocation
  4. Set the Smart Codec feature to Enabled if available — this reduces bandwidth during static scenes
# Uniview RTSP URL format:
# c[channel] = channel number (1-based)
# s[stream]  = stream number (0=main, 1=sub, 2=third)

# Camera — main stream, channel 1:
rtsp://admin:[email protected]:554/unicast/c1/s0/live

# Camera — sub stream, channel 1:
rtsp://admin:[email protected]:554/unicast/c1/s1/live

# NVR — main stream, channel 3:
rtsp://admin:[email protected]:554/unicast/c3/s0/live

# NVR — sub stream, channel 8:
rtsp://admin:[email protected]:554/unicast/c8/s1/live
4
Add Camera to AgenticEye

Connect your configured Uniview camera or NVR to the AgenticEye platform.

  1. Log in to your AgenticEye dashboard at app.agenticeye.com
  2. Navigate to Cameras → Add Camera
  3. Select Uniview from the manufacturer dropdown
  4. Choose connection method:
    • RTSP Direct — enter the RTSP URL for the specific stream
    • ONVIF Discovery — AgenticEye will scan and list available cameras
    • NVR Bridge — connect to an NVR and select individual channels
  5. For NVR setups, you can add multiple channels from a single NVR — each channel becomes a separate camera in AgenticEye
  6. Click Test Connection to verify the stream
  7. Name the camera, select your AI agent vertical, and click Save & Activate

RTSP URL Format

Uniview RTSP URL Structure

rtsp://[username]:[password]@[ip]:554/unicast/c[channel]/s[stream]/live

Parameters:

  • [username] — Camera or NVR user account
  • [password] — Account password (URL-encode special characters like @%40)
  • [ip] — Camera or NVR IP address
  • [channel] — Channel number, starting from 1. For standalone cameras, always 1. For NVRs, corresponds to the connected camera channel
  • [stream] — Stream index: 0 = main stream, 1 = sub stream, 2 = third stream

Multicast variant:

# Replace "unicast" with "multicast" for multicast delivery:
rtsp://[username]:[password]@[ip]:554/multicast/c[channel]/s[stream]/live

ONVIF Configuration

ONVIF Setup Details

Uniview cameras support ONVIF Profile S for streaming and Profile G for recording/playback on NVR models.

  • ONVIF Port: 80 (default)
  • Device Service URL: http://[ip]:80/onvif/device_service
  • Uniview typically uses shared user accounts for both system and ONVIF access
  • For NVRs, ONVIF can expose all connected camera channels — each appears as a separate ONVIF profile
  • PTZ cameras support ONVIF PTZ control commands including continuous move, preset positions, and auto-patrol tours

NVR Integration via ONVIF

When connecting through a Uniview NVR, ONVIF provides a unified entry point for all cameras connected to the NVR.

# Query all media profiles from an NVR (each profile = one camera channel):
from onvif import ONVIFCamera

nvr = ONVIFCamera('192.168.1.200', 80, 'admin', 'YourPassword')
media = nvr.create_media_service()
profiles = media.GetProfiles()

for profile in profiles:
    token = profile.token
    uri = media.GetStreamUri({
        'StreamSetup': {
            'Stream': 'RTP-Unicast',
            'Transport': {'Protocol': 'RTSP'}
        },
        'ProfileToken': token
    })
    print(f"Channel: {profile.Name}")
    print(f"  RTSP URI: {uri.Uri}")
    print()

Troubleshooting

Stream path format not recognized — "404" or "RTSP error"

Uniview has changed their RTSP URL format across firmware generations. If the /unicast/c[N]/s[N]/live format does not work, try these alternatives:

# Older firmware format:
rtsp://[user]:[pass]@[ip]:554/media/video1
rtsp://[user]:[pass]@[ip]:554/media/video2

# Alternative format used by some models:
rtsp://[user]:[pass]@[ip]:554/live/ch0
rtsp://[user]:[pass]@[ip]:554/live/ch1

# Use ONVIF to discover the correct URL programmatically:
# The GetStreamUri call returns the exact path for each profile

If none of these work, update the camera firmware. Uniview's latest firmware standardizes on the /unicast/ path format.

ONVIF compatibility mode — when to enable it

Some Uniview cameras have an "ONVIF Compatibility Mode" setting that changes how the camera responds to ONVIF queries. Enable this if:

  • AgenticEye or other ONVIF clients report "unsupported profile" or "invalid media profile" errors
  • PTZ commands sent via ONVIF are not recognized
  • Event subscription (motion detection alerts) fails to connect
  • The camera appears in ONVIF discovery but returns errors when queried for capabilities

Find this setting under Setup → Network → ONVIF → Advanced. After enabling, wait 30 seconds for the ONVIF service to restart.

NVR channel mapping does not match physical ports

When connecting cameras through a Uniview NVR, the RTSP channel number corresponds to the NVR's logical channel assignment, not the physical PoE port number.

  • Log in to the NVR web interface and go to Setup → Camera → Camera List
  • Note which camera is assigned to which channel number (Ch1, Ch2, etc.)
  • Use that channel number in the RTSP URL: /unicast/c[channel]/s0/live
  • If cameras have been added/removed, channels may have shifted — re-verify the mapping
  • Empty channels (no camera connected) will return an error or black frames when accessed via RTSP
Camera not responding after firmware update

Firmware updates on Uniview cameras can sometimes reset network or streaming settings:

  • After a firmware update, the camera may take 3-5 minutes to fully reboot. Wait before attempting to connect
  • RTSP and ONVIF settings may revert to defaults — re-verify that RTSP is enabled and the port is 554
  • The camera's IP address may change if it was using DHCP and the lease expired during the reboot. Use EZTools to rediscover the camera
  • If the camera is unreachable, try a hardware reset (hold the reset button for 10 seconds) and reconfigure from scratch
  • Always export your configuration before updating firmware: Setup → System → Config Backup
High latency or buffering on the stream

Uniview cameras can produce high-bitrate streams that cause latency on constrained networks:

  • Switch to the sub stream (s1) for AgenticEye AI analysis — 720p at 10 FPS is sufficient for most detection tasks
  • Enable Smart Codec (if supported) to dynamically reduce bitrate during static scenes
  • Reduce the I-frame interval to 30 (matching the frame rate) for faster stream acquisition
  • Use CBR instead of VBR to prevent bitrate spikes during scene changes
  • Ensure the camera is connected via wired Ethernet, not WiFi. PoE provides both power and data reliability
  • On the AgenticEye side, enable Low Latency Mode in the camera settings to minimize buffering

Need Help With Your Integration?

Our integration team can assist with Uniview camera and NVR configurations, including multi-channel enterprise deployments.

Contact Our Integration Team