How to Get a Uniview Camera's RTMP Stream
Want your Uniview camera to stream live to YouTube, Facebook, or another platform that accepts an RTMP feed? Set these four things on the camera’s web interface and point it at the destination URL.
Before you start: log in to the camera’s web interface in a browser (not the NVR). This method works for most Uniview cameras; if it doesn’t resolve your setup, contact our tech support team.
Set the video to H.264 and turn off U-Code
Go to Setup › Video & Audio › Video. Set the Video Compression to H.264 and turn U-Code off for every stream. RTMP platforms don’t accept H.265/U-Code.
Turn on the audio stream
Under Setup › Video & Audio › Audio, enable the camera’s audio so the stream carries sound.
Set RTSP authentication to none
Under Setup › Security › Network Security, change RTSP Authentication to none.
Add the RTMP media stream
Go to Setup › Video & Audio › Media Stream. Click the + to add a stream (Main, Sub, or Third). Set the protocol to RTMP, enter the Destination URL from your platform, and enable Persistent.
Building the URL — YouTube example: combine the server URL and the stream key into one address:
rtmp://a.rtmp.youtube.com/live2 + stream key xxxx-xxxx-xxxx-xxxx → rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx
Paste the combined URL into the Destination field and click Save.
If the stream stutters
Lower the camera’s MTU value under Setup › Network › Basic for smoother RTMP streaming.
