Remote Access/LiveStream RTMP to YouTube

Revision as of 20:09, 16 January 2020 by Marques.Phillips (talk | contribs)

How to LiveStream RTMP to YouTube

Working Example

Instructions

YouTube Setup

Prerequisites

  • YouTube Account
  • Dahua IP Camera with RTMP on LAN
  • Port 1935 forwarded in router or modem pointing towards IP of Dahua IP Camera
  • All streams encode mode to H.264.
  • Audio enabled and set to AAC
  • IPC must support Audio function

Video Instructions

Step by Step Instructions

1. From the YouTube main page select 'Go live'

RMTP - Setup Youtube - 1.jpg

2. Select Stream

Enter a title for the Stream

Click Create Stream

RMTP - Setup Youtube - 2.jpg

3. The Stream URL and Stream name/key are required to enter at the Dahua recorder

RMTP - Setup Youtube - 3.jpg

4. Use the Stream setup help interface to copy the information and save to a notepad or word document for reference in the next part of the setup at the Dahua recorder

RMTP - Setup Youtube - 4.jpg

5. The completed custom URL that must be entered into the Dahua recorder will be:

Stream URL/Stream Key

RMTP - Setup Youtube - 5.jpg


Device Setup

1. Log into the web interface of the camera

Click Setting

RTMP - Setup IP Camera - 1.jpg

2. Click Video

RTMP - Setup IP Camera - 2.jpg

3. Confirm the encode settings are set to H.264 and Smart Codec is turned Off (for the video stream you wish to use)

RTMP - Setup IP Camera - 3.jpg

4. Click Audio

Confirm audio is enabled and Encode Mode is set to AAC

RTMP - Setup IP Camera - 4.jpg

5. Click Network > Access Platform

RTMP - Setup IP Camera - 5.jpg

6. Click RTMP

RTMP - Setup IP Camera - 6.jpg

7. Check the box to enable

Select the Stream Type

Select Custom under Address Type

RTMP - Setup IP Camera - 7.jpg

8. In the Custom Address field enter the complete URL that was provided by the previous steps

RTMP - Setup IP Camera - 8.jpg

9. Click Save

RTMP - Setup IP Camera - 9.jpg


After configuring the Dahua camera, return the Youtube interface and click Go Live

RMTP - Setup Youtube - 6.jpg

The camera's video will be streamed live

RMTP - Setup Youtube - 7.jpg