Set up a Uniview camera with a self-hosted NVR
How to record a Uniview (UNV) camera on your own Vigiora Server. Set the password, know the /media/video stream addresses, turn on ONVIF and check RTSP authentication, and see what Vigiora finds by itself.
· 4 min lesing · Vis som Markdown

Uniview (UNV) cameras are built for recorders: every model streams over RTSP, most speak ONVIF, and the stream addresses are short and predictable. That makes them a good fit for a self-hosted recorder such as Vigiora Server. Here is what to set on the camera, and what Vigiora does for you.
Before you start: password, ONVIF and RTSP#
Set the admin password
On current firmware, the camera asks for a new password at the first login on its web page. The user is
admin.Turn on ONVIF
According to Uniview's own guides, ONVIF is under Setup → Network → Access Platform → ONVIF on older firmware and under Configuration → Network → Advanced Settings → Integration Protocol on newer firmware. Uniview recommends an ONVIF user with administrator rights, created in the security settings.
Leave RTSP authentication on
Uniview lets you turn RTSP authentication off. Keep it on: Vigiora sends the login, and a camera that streams to anyone on the network is a risk.
Menu names change between firmware versions. If yours differ, look for ONVIF, Integration Protocol or Access Platform in the network settings.
The stream addresses#
Replace the user, password and address with your own. RTSP uses port 554.
| Stream | Address |
|---|---|
| Main | rtsp://user:password@192.0.2.25:554/media/video1 |
| Sub | rtsp://user:password@192.0.2.25:554/media/video2 |
| Third stream | rtsp://user:password@192.0.2.25:554/media/video3 |
The number after video picks the stream: 1 is the main stream, 2 the sub-stream, 3 the third stream. From Uniview's documentation: fisheye cameras offer their extra views as video4 to video7 and the panorama as video8, and the second lens of a dual-lens camera uses /media2/ instead of /media/.
The ports that matter: 554 for RTSP, 80 for the web page and ONVIF.

What Vigiora finds for you#
In the setup wizard, or with Monitors → Add Monitor → On this network, you type only the login:
- The scan finds the camera and recognises Uniview by its hardware address.
- It asks for the streams over ONVIF on port 80, main and sub, with the camera's model, firmware and serial.
- If ONVIF doesn't answer, it tries
/media/video1, and/media/video2as the sub-stream. - It learns the features: pan, tilt and zoom on PTZ models, the microphone and the speaker. On Uniview Prime models, KM in the model name means a built-in microphone, and KMC adds a speaker.
You never type a stream address, and the camera is created with its sub-stream. That is the better route: with I have the RTSP URL, Vigiora guesses a sub-stream only for Hikvision and Dahua addresses, so a typed Uniview address gets the main stream alone.
Vigiora stops at the first refused password and doesn't send the same wrong password to that camera again for 30 minutes, so a typo doesn't lock the camera.
Recording: main stream or sub-stream#
- Record the main stream at entrances and tills, where you may need to zoom into faces or plates.
- Record the sub-stream with Record low quality (sub-stream) on the other cameras. It saves about 60–80% of disk. See Main stream or sub-stream?.
- Uniview's own compression, U-Code, can confuse other recorders. If the picture stutters, turn U-Code off and choose H.264 or H.265 in the camera's video settings.
- The free plan has no camera limit and includes AI on 2 cameras.
Troubleshooting#
- ONVIF login refused. Create an ONVIF user with administrator rights in the camera's security settings, or check the ONVIF authentication mode under Integration Protocol.
- RTSP refused even with the right password. Some firmware works better with RTSP authentication set to Digest or Basic: try the other one, never "none".
- The picture stutters or stays black. Turn U-Code off and set the stream to H.264.
- Wrong path (404). Check the stream number and, for a recorder, use the camera's channel. See Wrong stream path (404).
Related docs#
Add a camera
All the ways to connect a camera: Add a camera.
Rediscovery
How Vigiora follows a camera to a new address: Fixed IPs and rediscovery.
Troubleshooting
Missing stream, wrong path or freezes: Troubleshooting cameras.