Using Live RTMP Outputs to Stream to Facebook and YouTube

In this topic you will learn how to use RTMP outputs in the Live module to stream live events to destinations such as Facebook and YouTube.

Introduction

The Live module can be used to broadcast a live event to both desktop and mobile devices. After entering your event information into the Live module, you will be provided with a set of encoder settings that you plug into your on-site encoder. Typically, the live stream will be published inside of a Brightcove Player. The Live module Control Room page provides the ability to enter additional RTMP output URLs. The RTMP output settings can be used to send the live stream to social media sites. Note that RTMP output hours will be billed against event hours. This topic will cover the steps to create a simple live event and then show how the RTMP outputs can be used to stream a live event to Facebook and YouTube.

Creating a new event

To create a new event, follow these steps.

  1. Open the Live module.
  2. From the Manage Events page click Create Event. The Create Live Event page will open.
  3. Enter the Event Name and any required custom fields.
  4. Select a Live Ingest Profile.
  5. Select Convert event to video asset when complete to save a VOD version of the live video to your account.
  6. Click Stream Options and select a Region. To reduce latency, you should select the region that is closest to where your encoder is located.
  7. Click Advanced Options and configure the advanced options as appropriate.
  8. Click Create Event to start the live event. The Control Room page will open with details about the live event including the Streaming Endpoint (RTMP URL) and Stream Name which will be used by your encoder.
  9. Start streaming from the encoder and the live stream will appear in the Control Room page.

Once the live event has started, the live stream can be sent to Facebook and/or YouTube.

When an RTMP output is deleted, an option to Show finished RTMP outputs will be available. Check that option to view finished RTMP outputs.

Streaming to Facebook Live

Facebook Live is a live video streaming feature on Facebook that allows you to broadcast a live event out to your audience through your company page or personal profile. Live videos will show up in an individual's news feed during the live event, as well as after the event has ended.

Once the live streaming has started in the Live module, follow these steps to use the live stream in Facebook.

  1. Login to your Facebook account.
  2. Create a new post and click on the Live Video option.
  3. In the Go live section click Create Live Video.
  4. If the Facebook Video Producer dialog opens, close it.
  5. In the Select a video source section, click on Streaming Software.
  6. Facebook will display a Stream Key.
  7. Expand the Advanced Settings section to reveal the Server URL. The Stream Key and Server URL will be used in the Live module.
  8. Copy the Server URL to the clipboard.
  9. In the Live module, paste the Server URL into the RTMP Output URL field on the Control Room page.
  10. Copy the Stream Key from Facebook to the clipboard.
  11. In the Live module, paste the Stream Key at the end of the RTMP Output URL field. The RTMP Output URL field will be the Facebook Server URL with the Stream Key appended, all as one value.
  12. Select a rendition from the Select Rendition dropdown .
  13. Click Add RTMP Output.
  14. Confirm that the connection was successful.
  15. In Facebook, the Video section should display a preview of the stream.
  16. In Facebook, Add live video details.
  17. Click Go Live.
  18. Confirm the live stream appears in Facebook.

To return to the Live Dashboard, in Facebook, locate the post in your news feed, click on the ellipsis (...) next to the post and click Edit Live Video.

Click End Live Video to end the Facebook live stream. Remember to stop the encoder as well when the event is complete.

Streaming to YouTube

YouTube provides the ability to deliver live streaming video to your audience. Before you begin a live stream for the first time, you have to enable your YouTube channel.

Once the live streaming has started in the Live module, follow these steps to use the live stream in YouTube.

  1. Login to your YouTube account.
  2. Go to the YouTube Studio page at https://studio.youtube.com.
  3. At the top right of the page, click CREATE > Go live.
  4. In the left navigation, click Stream.
  5. YouTube will display a Stream key and Stream URL. These values will be used in the Live module.
  6. Copy the Stream URL to the clipboard.
  7. In the Live module, paste the Server URL into the RTMP Output URL field on the Control Room page.
  8. Copy the Stream key from YouTube to the clipboard.
  9. In the Live module, paste the Stream key at the end of the RTMP Output URL field. The RTMP Output URL field will be the YouTube Stream URL with the Stream key appended, all as one value.
  10. Select a rendition from the Select Rendition dropdown.
  11. Click Add RTMP Output.
  12. Below the RTMP section, confirm that the connection was successful.
  13. Confirm the live stream appears in YouTube.

The live stream will begin in YouTube.

In YouTube Studio, click END STREAM to end the live stream. When your stream is complete, a public video will be automatically created and uploaded for people to view later. Remember to stop the encoder as well when the event is complete.

Limitations

  • Currently, the RTMP output to LinkedIn from Brightcove Live is not supported.