Live Encoder supports out-of-band conditioning via SCTE-104/IP, on the same principle as ESAM.

- Live Encoder can receive conditioning triggers from an external server, using SCTE-104 over IP messages.
- Once received, SCTE-104 messages are decoded, sent to the targeted channel (based on DPI PID index) and converted in SCTE-35 in order to enable stream conditioning actions.

![An external ad server sends SCTE-104/IP triggers to Live Encoder on TCP port 5167. The encoder directs them to the service by DPI PID index and sends SCTE-35 markers downstream.](/images/legacy-live-encoder/scte-104-conditioning.webp)
_SCTE-104 out-of-band IP conditioning_

## Configure SCTE-104/IP out-of-band metadata

Before you start, ensure that [you have added and configured the SCTE-104/IP out-of-band metadata in the input stream](/traditional-products-and-appliances/components/live-encoder/configure/input/outofband-metadata#configure-scte-104ip-out-of-band-metadata-input-stream).

Configuring SCTE-104/IP out-of-band metadata requires multiple steps:

### Configure the metadata encoding

1. From the **Encoding** tab, go to the **Metadata encoding** section.

2. For each SCTE-104/IP metadata, click `Edit` icon in the **Actions** column then set the **Codec** to **Conditioning**.

   **Encoded metadata selection** shows **Conditioning** as its codec. The form includes **Use POIS**, **PTS insertion compensation**, and **Recover conditioning state if failover**.

3. Click **Ok** to validate.

### Configure the video encoding

1. Go to the **Video encoding** section.

2. For each video stream, select the associated [**Stream Conditioning**](/traditional-products-and-appliances/components/live-encoder/parameters/encoding/video#general-parameters).

   The **Stream conditioning** field identifies the encoded metadata stream.

3. Click **Ok** to validate.

### Add the SCTE-35 conditioned stream related to the SCTE-104/IP to the output

1. Go to the **Output** tab.

2. Go to the **Output streams** section, then click either the **Add** button (if no stream has been selected) or `Edit` icon in the **Actions** column.

3. For each video stream, tick the associated [**Stream Conditioning**](/traditional-products-and-appliances/components/live-encoder/parameters/encoding/video#general-parameters).

   In the **Output stream** list, the metadata description is **SCTE-35 Conditioning**.

4. Click **Ok** to validate. You should see the selected streams in the list of output streams.
