Implementing Live SSAI

In this topic, you will learn how to manage and create Live server-side ad configurations in Brightcove Beacon.

Overview

Brightcove Beacon supports Server-Side Ad Insertion (SSAI) in Live events so server-side ads can be requested and displayed during a Live stream. Note: if you are using redundancy with SSAI, you must insert ads into all jobs in the group at the same time.

A high-level view of the process is:

  1. Create Ad Configuration(s) in Beacon Studio.
  2. Create a fill slate for your Live event in Beacon Studio.
  3. Create Live event(s) with SSAI enabled in Beacon Studio.
  4. Create ad configuration(s) in Beacon Classic.
  5. Create a channel that uses the ad configuration(s) in Beacon Classic.
  6. Publish the Live event to Brightcove Beacon in Beacon Studio.

SSAI provides these main features during Live events:

  • Since ads are stitched into the Live video stream on the server-side, they are not affected by ad blockers.
  • Ads are inserted at cue points sent from your encoder or you can create an instant cue point using the Live module Control Room.
  • You can configure fill slates to fill any unused ad time.

Configuring Server-Side Ad Settings

Here you create an SSAI Ad Configuration to be used as your set of ads that are displayed in your Brightcove Beacon Live event.

  1. Log in to Beacon Studio.
  2. In the navigation header, click ADMIN and select Server-Side Ad Settings. A list of all ad configurations are displayed.
  3. To create a new ad configuration, click the Create Ad Configuration button and select the type to be Live.
  4. Check to be sure you are seeing the Server-Side Ad Settings form.
  5. Give your ad configuration a Name. If Roku is a targeted platform, you need to create two configurations. Naming them appropriately would be a best practice. For instance:
    • Live - No DVR - All except Roku
    • Live - No DVR - Roku
  6. Select the Ad Server Response:
    • VAST
    • DFP (Ad Rules)
    • Smart XML
  7. Enter the Ad Tag (server URL).
  8. Click the Save button.
  9. Record the value(s) of your Ad Configuration ID(s). You use this in a later step.
    Ad configuration ID

Configuring a Fill Slate

Fill slates are videos that are displayed when there are gaps in a Live stream ad break that cannot be filled with a dynamically-served ad. If the requested ad is shorter than the Ad break time, the fill slate is displayed so viewers don't see a blank player.

To add a fill slate, follow these steps:

  1. Click the ADMIN > Live Settings link in the Beacon Studio.
  2. Click + Add Fill Slate.
  3. Enter a Name for your fill slate.
  4. Enter the Source URL for the slate.
  5. Click Save. The ingestion process for the slate begins.
  6. Be sure your fill slate has been added by checking the list:
    fill slate list

Creating a Live event that supports SSAI

In order for a live event to use SSAI (Server-side Ad Insertion), the Enable Server-Side Ad Insertion (SSAI) setting must be selected when the event is created, and a previously created fill slate should be chosen for playback.

Follow these steps to create an Event that supports SSAI ads in Brightcove Beacon:

  1. Open the Live module in Beacon Studio.
  2. From the Manage Events page, click Create Event.
  3. Enter your event details. For complete information on creating a live event using the Live module, please see Creating and Managing Live Events using the Live Module.
  4. Click ADVANCED OPTIONS to expand the advanced options.
  5. Check Enable Server-Side Ad Insertion (SSAI). This enables server-side ad insertion.
  6. Select a Fill Slate. The fill slate is displayed when there are gaps in a live stream ad break that cannot be filled with a dynamically-served ad.
  7. When the Ad Audio setting is checked, the audio levels on ads are normalized based on the adjustment that is set. This can be used as a way to help make sure ads aren’t significantly louder than the content. Brightcove recommends selecting this option.
  8. Click Create Event
  9. The Control Room page opens with details about the Live event including the Streaming Endpoint (RTMP URL) and Stream Name. These values are used by the encoder.
  10. Click Publish and Embed.
    publish and embed
  11. As highlighted in the screenshot just above, select your Available Player.
  12. As highlighted in the screenshot just above, select your Ad Configuration.
  13. Record your Player URL as it are needed later.
    player url
  14. If you are targeting the Roku platform, add another event user your second, Roku only, ad configuration. Repeats steps 2 to 13.

Configure encoder

IF you are using an encoder and wish to start it, the steps in the section lead you through that process.

  1. Configure your encoder and start the Live stream.
  2. By default, the Control Room preview player shows the ad-free stream. Ads are not shown in the Control Room unless a Live ad configuration is selected. Use the dropdown below to the player to select an ad configuration.
  3. (Optional) Click the plus button () to select an additional ad configuration. Doing this adds another preview player on the Control Room page.

    Click the volume button below the preview player to control which player audio stream is active.

Create ad configuration(s)

You create one or two ad configurations, based on your Roku requirements, then in the next section you create a channel that uses the ad configuration(s).

  1. Log into Beacon Classic.
  2. In Brightcove Beacon, in the upper menu, click the Advertisement tab.
  3. Click the Add New Configuration button.
  4. Check to be sure you are seeing the New Advertisement form.
    New Advertisement form
  5. Give your new advertisement configuration a Name. If you are using Roku, you are creating two advertisement configurations so be sure the names reflect an add configuration with and without Roku.
  6. The defaults for Provider and Ad-Target remain.
  7. In step 13 from the Creating a Live event that supports SSAI section above, you recorded one or two player URLs, based on Roku needs. An example URL appears as:
    https://players.brightcove.net/3676484086001/05eE9ou1hh_default/index.html?videoId=6318520526112&adConfigId=live.UtIrzniPFMiip415KQM_YNv2W8HMH79otvpQUsNeBaqe7QU0buFmq6DPUa2rHeV-k-F3tIZu1bXYBIafVamvirwzObGGUXVj7eDtP1j-4gOpsm0GRqUnOiMm

    In the URL locate the adConfigId query parameter and copy everything after the equals sign. The copied string starts with live. For instance, from the URL above the copied string is:

    live.UtIrzniPFMiip415KQM_YNv2W8HMH79otvpQUsNeBaqe7QU0buFmq6DPUa2rHeV-k-F3tIZu1bXYBIafVamvirwzObGGUXVj7eDtP1j-4gOpsm0GRqUnOiMm
  8. In the Live Ad Config ID, paste the copied value.
  9. From the Provider menu select Brightcove SSAI.
  10. Check to be sure our completed form appears similar to the following:
    filled in ad form
  11. Click Create New Advertisement.
  12. If Roku is a targeted platform, repeat steps 2-11 to create a second ad configuration for Roku only.

Create a channel

In this section you create a single channel with either one for two Right sets. You create two if you are targeting the Roku platform.

  1. In Beacon Classic, in the top menu click Channels.
  2. On the Basic Data tab give the channel a name. In this document the name Live SSAI - No DVR - Channel is used.
  3. For the CloudPlayOut Channel ID enter your appropriate ID.
  4. Add Textual Data and Non-Textual Data as desired.
  5. Do not make changes to Tags or Streams.
  6. Click the Rights & Scheduling tab.
  7. Complete the form. The key values are highlighted. Note the values shown are for the all but Roku use case.
    channel right no roku
  8. If Roku is a targeted platform, click Add new Right.
  9. Complete the form. The key values are highlighted. Note the values shown are for the Roku use case.
    channel right with roku
  10. Click Create New Channel or Update Channel if you have previously saved.

Requesting an ad

Follow these steps to request an ad in the Live Control Room:

  1. Click Insert Ad and from the dropdown choose the length of your desired ad break.
  2. Click Insert to insert an ad break into the live stream. If the ad doesn't fill the entire ad break time, the fill slate (being selected when the event was created) is displayed.

Ads are seen in the Control Room preview player and in players that are published using the Live module. This example shows 2 ads being displayed in the Control Room.

Publishing a Live event in Brightcove Beacon

To publish your Live event with server-side ads in Brightcove Beacon, follow these steps:

  1. In the Live Control Room click Publish and Embed in the left navigation.
  2. In the Live Player Options select an Available Player.
  3. Select your Ad Configuration previously created in the Server-Side Ad Settings.
  4. After selecting your Available Player and Ad Configuration, a new Player URL is generated.
  5. Click on the Tools (wrench) button in the upper right of the screen. Then clear the cache.
  6. Open your Brightcove Beacon App and select your event (the event names and pictures on the image are for example purposes only).
  7. In your Brightcove Beacon app, click on the Play button. You should now be able to see your Live event streaming, with ads inserted by SSAI from Video Cloud.

Once your event ends, you can save all or part of it as a clip that becomes a video asset in Video Cloud or a playable stream that can be shown in Brightcove Beacon. The Ads of the Live event are not saved, but the cue points from where the ads were transmitted are registered so that you can add new ads in a later VOD of your recorded Live event.

For more information on how to create a clip, please see the Creating a Clip from your Live event section from the Streaming a Live Event document.