<img src="https://img.shields.io/badge/%20-ENTERPRISE-%23B10031" style="float:left"/><br />

Server-Side Ad Insertion (SSAI) facilitates seamless transitions between video content and advertising breaks, eliminating buffering or delays. By enabling this feature on your Broadcast Live streams, you provide your viewers with a smooth viewing experience and capitalize on the monetization opportunities for your live broadcasts.

<br /> <hr />

## Requirements

<table> <thead> <tr> <th> Item </th> <th> Notes </th> </tr> </thead> <tbody> <tr> <td width="25%"><strong>Stream SCTE-35 markers</strong></td> <td width="75%">SCTE-35 messages within the media stream to signal ad breaks (<code>splice_insert</code>) and their respective durations (<code>time_signal</code>) in a binary format <br /><br /> JWP monitors and parses these SCTE-35 messages to determine the precise moments to deliver midroll ads to viewers during the live stream. <br /><br /> Preroll ads do not depend upon these messages. </td> </tr> <tr> <td><strong>SSAI Entitlement</strong></td> <td>Contact your JWP representative for more information</td> </tr> <tr> <td><strong>Property-level enablement</strong></td> <td>Toggle turning on the feature for an entitled property <br /><br /> Use the following steps to enable this feature: <ol> <li>From the <strong><a href="https://dashboard.jwplayer.com/#/account/properties" target="_blank">Properties</a></strong> page of your JW Player dashboard, click the name of the property. The settings page for the property appears.</li> <li>On the <strong>General</strong> tab in the <strong>Server-Side Ad Integration</strong> section at the bottom, click the <strong>Enable SSAI</strong> toggle to <strong>ON</strong>.</li> <li>Click <strong>SAVE</strong></li> </ol> </td> </tr> </tbody> </table>

<br /> <hr />

## Configure SSAI for a Broadcast Live stream


SSAI (Beta) tab

Use the following steps to enable SSAI for a Broadcast Live stream:

  1. From your JWP dashboard Media Library, click the name of the stream. The details page of the stream appears.

  2. On the **SSAI (Beta)** tab, click **Set SSAI Settings**. The **SSAI Settings** popup window appears.

  3. From the **Ad Schedule** dropdown menu, select an ad schedule.


    If no options appear in the dropdown menu, you must <a href="/platform/docs/advertising-schedule-ad-breaks" target="_blank">schedule an ad break</a>. SSAI only accepts preroll and midroll ad breaks.

    For ad schedules with midroll ad tags, SSAI **will not** recognize the following settings:

    • <strong>Skippable after</strong>

    • <strong>BREAK TIMING</strong>

    • <strong>Non-linear overlay ad</strong>

  4. Click the **Live Preroll** toggle to **ON**. When enabled, a viewer will see a preroll ad when entering a live stream before the live stream content begins.


    Digital video recording (DVR) is disabled when the feature is enabled.

  5. Click **Save**. The **SSAI Settings** popup window closes.

  6. Click **Save** to apply the SSAI settings to the Broadcast Live stream.

<br />

You can now [embed and start broadcasting](🔗) content through the stream.

<br />

## FAQs

<details><summary><strong>If multiple midroll ad tag URLs have been added to an ad schedule, will ads play from all tag URLs?</strong></summary> <br />

No. Only ads from the first ad tag URL will be played.

To ensure that your ad server returns enough ads to fill a full ad break, be sure to add the [`session-avail_duration_secs` macro](🔗) to the ad tag URL to inform the Ad Network of the available duration.

<br /> </details>

<details><summary><strong>Why are midroll ads not playing in my Broadcast Live stream?</strong></summary> <br />

Verify that you have created a stream that uses the Secure Reliable Transport (SRT) protocol.

RTMP streams do not support SSAI midroll ads.

<br /> </details>

<br />