Using Live RTMP Outputs to Stream to Facebook and YouTube

Product(s)
Video Cloud
Live
Role(s)
Studio User
Topic(s)
Live Module
Live Streaming

In this topic you will learn how to use RTMP outputs in the Live module to stream live events to 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.

Note: RTMP Outputs are not available in the Live UI when using recurring events (static entry points).

Creating a new event

To create a new event, follow these steps.

  1. Open the Live module.
  2. From the Manage Events page click the Create Event button or click Create Live Event or Create Live Channel in the left navigation. The Create Live Event or Create Live Channel 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 Video Cloud account.
  6. Click ADVANCED OPTIONS and configure the advanced options as appropriate.

    Note: RTMP Outputs are not available in the Live UI when using recurring events (static entry points).

  7. Click Start Streaming 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.

    Note: It will take about a minute to process your streams.

    Note: By default, the encoder must be started within 30 minutes from when a new event is created.

  8. 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.

Note: Make sure the encoder is closed/stopped when the live stream is complete. Leaving a connection open between any encoder and Brightcove, even when no data is being sent, may result in unexpected connection charges.

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.

Note: For complete details on Facebook live streaming, check the Facebook documentation.

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. Facebook may prompt for access to your computer camera and mic. This topic is using an external DSLR camera for the event so click on Connect.
  4. Facebook will display a Server URL and Stream Key. These values will be used in the Live module.
  5. Copy the Server URL to the clipboard.
  6. In the Live module, paste the Server URL into the RTMP Output URL field on the Control Room page.
  7. Copy the Stream Key from Facebook to the clipboard.
  8. 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.
  9. Select a rendition from the Select Rendition dropdown and click Add RTMP Output.
  10. Below the RTMP section, confirm that the connection was successful.
  11. Confirm the live stream appears in Facebook. Enter a title and description for Facebook.
  12. Click Go Live.

The live stream will begin in Facebook.

Click Finish 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.

Note: Enabling a live stream for the first time may take up to 24 hours. Once enabled, your stream can go live instantly.

Note: For complete details on YouTube live streaming, check the YouTube documentation.

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. In the left navigation, click Other Features > Live stream now.
  4. YouTube may prompt for access to your computer camera and mic. This topic is using an external DSLR camera for the event so click on Connect.
  5. YouTube will display a Server URL and Stream name/key. These values will be used in the Live module.
  6. Copy the Server 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 name/key from YouTube to the clipboard.
  9. In the Live module, paste the Stream name/key at the end of the RTMP Output URL field. The RTMP Output URL field will be the YouTube Server URL with the Stream name/key appended, all as one value.
  10. Select a rendition from the Select Rendition dropdown and click Add RTMP Output.
  11. Below the RTMP section, confirm that the connection was successful.
  12. Confirm the live stream appears in YouTube.

The live stream will begin in YouTube.

Click Return to YouTube Studio and then stop the encoder to end the live stream. When your stream is complete, a public video will be automatically created and uploaded for people to view later.