Broadcast Live Video Chat with vidyo.io
Video chat is a great way to create interactive discussions with groups of people. But there are times when the audience doesn’t need to interact with the speaker. Leveraging a third-party streaming broadcast service, such as YouTube, can be a great way to deliver your live video chat session to a larger view-only audience.

To broadcast to YouTube, you must first convert the video chat session into a format that YouTube can ingest, such as RTMP. The vidyo.io media bridge can be used to output an RTMP media stream from the vidyo.io video chat session. Once converted to RTMP, YouTube can ingest the video stream and broadcast it to your audience.

In this article I’m going to walk you through the configuration necessary to get an RTMP stream into YouTube for broadcast from the vidyo.io media bridge. For instructions on setting up the media bridge, check out our previous article on media bridge setup.


  • You should install and configure Docker as explained here. After completing all the steps, you should test to make sure local recording is working.
  • A YouTube account.

Creating a Live Event in YouTube

  1. Go to My Live Events on YouTube and click “Create live event.”Create Event
  2. Enter information about your event. Select type as “Custom.” You can edit Advanced Settings or leave as is. Click “Create event.”Custom Event
  3. This will take you to the “Ingestion Settings” for the main camera, there select “Reusable stream key” and create a new stream. Create a new stream

    Enter a stream name a select a bitrate for 720p.

    Create Stream
    Here, “vufr-ky58-65uc-2gvw” is the stream name and “rtmp://a.rtmp.youtube.com/live2” is the URL.To send a live feed to this page, we have to configure the media bridge to send the stream to rtmp://a.rtmp.youtube.com/live2/vufr-ky58-65uc-2gvw.

    Click “Save changes” to save these settings.

    Save the changes to create the new stream key. Resuable Stream

  4. Now click “Live Control Room” on the top menu bar. You’ll see a page that tells you “We are not receiving any data.” Now it’s time to start the media bridge to send the video stream.
  5. Edit the media bridge config file by setting the destination to the RTMP URL we just created. We are telling the media bridge to stream live instead of saving locally. Give the path of your YouTube Live event:
  6. Copy the configuration to Docker:
    docker cp config my_recorder:/opt/vidyo
  7. Join the same room from your desktop or mobile that Docker is configured to record and then start Docker:
    – docker exec -d my_recorder /opt/vidyo/connect
  8. Now go back to the Live Control Room page of your live event on YouTube. You should now see the page below. It should show the status of the stream as Good, and the “Preview” button should be activated. Click “Preview” and wait a few seconds for the preview to start. Once this step is successful, the “Start Streaming” button should be activated. Status
  9. Click “Start Streaming” to go live.

vidyo.io broadcasted to YouTube
That’s it! You’re now broadcasting to YouTube from the vidyo.io-powered video chat.