In this short tutorial, we first set up YouTube Live and get the Stream Server URL. We then start streaming, using the Camera Stream URL for input (from previous setup step: connecting your camera) and the full Stream Server URL for output in webcam.io
1.) Set up YouTube Stream Now
The Stream Now feature of YouTube can be used for testing and production usage. It will detect the stream parameters automatically.
Visit Stream now here or click on the plus-signed-camera in the top menu bar in YouTube, then Stream Now on the bottom. Skip.
The interesting part is the Server URL and the Stream key - we will need it in the next step:
So the full Stream Server URL here is
And you might want to set the stream to unlisted or private for testing.
2.) Set up webcam.io and start streaming
Head over to webcam.io and add a new webcam of type ‘Live stream’:
Fill in the Camera Stream URL of your camera into the Input section.
It is the
rtsp://myrouter1234.dyndns.org:554/Streaming/Channels/101 URL from the previous tutorial.
Then the YouTube Stream Server URL goes into Output field.
Transcoding: For H.264 streams the ‘off (copy stream)’ setting should be fine. Transcoding is required for cameras not supporting H.264 (like MJPEG url or Mobotix MxPEG). Or if you have an unusual quality setting, not supported by YouTube. Transcoding puts more load on our servers and requires the LIVE+ plan.
By saving the webcam settings (with Enable streaming checkbox activated), streaming will start within the next 30-60 seconds. The stream status is visible in the status box in your dashboard:
On the YouTube Stream Now page, status should change after a few minutes the video stream is visible in live player.
To see if it is stable, just leave the page open for 10-30 minutes and watch the Stream health status.
If everything is fine, you have a working live stream now!
Please contact us for help! Especially if your stream does not start or if you cannot find the video stream URL of your camera. Also see FAQ.
- How to embed a YouTube Live stream into your website
- And if your stream is running for a longer time, you might want to set up the automatic delete of archived stream videos in YouTube: Auto-delete YouTube live stream videos