---
title: ZEC Adding UDP Streams
slug: zixi-broadcaster-v19-new-ui/zec-adding-udp-streams
createdAt: 2024-12-26T19:04:35.180Z
---

This enables the ZEC to receive a UDP stream. The UDP stream is not protected by the Zixi protocol.&#x20;

The UDP streams can be one of the following types:

- **UDP** – the input stream is plain UDP.
- **RTP** – the input stream uses the RTP protocol, which adds RTP headers to the UDP stream. RTP adds a 12-byte header, which includes a sequence number and a timestamp that can be used to detect dropped packets. The sequence number in the RTP headers can be used to do automatic reordering, and the timestamps can help overcome inter-packet gaps, also known as IAT (Inter Arrival Time).
  However, plain RTP does not feature error recovery or error protection. By default, the RTP headers (which include the timestamps and sequences) are used on the input side, but then they are stripped off, and they no longer propagate to outputs.
- **RTP + SMPTE 2022 FEC** – the input stream includes forward error correction, which enables error recovery or error protection.

If the stream is an MPTS stream and you want to demux it into separate SPTS input streams, create the stream by following the instructions below, and then follow the instructions in the [ZEC Demuxing an MPTS Stream](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-demuxing-an-mpts-stream) section.

## To Add a UDP Stream:

:::::WorkflowBlock
:::WorkflowBlockItem
In the ZEC Navigation menu, click **Inputs**.
:::

:::WorkflowBlockItem
Click **Create**.

The **Select Input Type** page is displayed.
:::

:::WorkflowBlockItem
Select **UDP**.

The **Create UDP Input** window is displayed.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/4KzGvI-W4jZhrRR52FTP5_zec-create-udp-input-1.png" size="80" isUploading="false" position="center" width="790" height="1426" darkWidth="790" darkHeight="1426" showCaption="false"}
:::

::::WorkflowBlockItem
In the **Input ID&#x20;**&#x66;ield, enter the unique Stream I.D. for the Broadcaster.

:::hint{type="info"}
Note this **must** be identical (case sensitive) to the stream name configured in Zixi Broadcaster.
:::
::::

:::WorkflowBlockItem
Select the **Enable Logging** checkbox if you would like to generate event logs for this input.
:::

:::WorkflowBlockItem
Specify the **UDP Settings** (see [UDP Settings Table](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-adding-udp-streams#udp-settings-table) below).
:::

:::WorkflowBlockItem
Specify the **Advanced Settings** (see [Advanced Settings](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-adding-udp-streams#advanced-settings) below).
:::

:::WorkflowBlockItem
Specify the **Additional Settings** (see [Additional Settings](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-adding-udp-streams#additional-settings) below).
:::

:::WorkflowBlockItem
Click **Save**.&#x20;

The "Input Added" message appears at the top of the screen. The UDP Stream from Broadcaster is added to the ZEC and now appears in the list of streams available in the ZEC Inputs UI.
:::
:::::

### UDP Settings Table

| **Parameter**              | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Port**                   | Specify the port to listen on. This port must be open on all firewalls between the ZEC and other devices it is communicating with.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Multicas&#x74;**&#x20;IP** | If multicast, type the Multicast IP address (or leave blank in the case of Unicast).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **SSM Source IP**          | Specify the source IP for a source-specific multicast.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Bind to IP**             | Select from the drop-down list the local IP address to be used for this Input, OR select *Any&#x20;*&#x74;o enable any IP to be used.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Max Bitrate (kbps)**     | Specify the maximum expected bitrate for memory allocation. Recommended: 2X the actual bitrate, which will prevent buffer overruns (especially with VBR streams). Default: 8000.<br />Note – Overflows will typically occur when the Max Bitrate isn’t sufficient.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Type**                   | Select the appropriate protocol type from the drop-down list:<br />- **UDP** – the input stream is plain UDP.<br />- **RTP** – the input stream uses the RTP protocol, which adds RTP headers to the UDP stream. RTP adds a 12-byte header, which includes a sequence number and a timestamp that can be used to detect dropped packets. The sequence number in the RTP headers can be used to do automatic reordering, and the timestamps can help overcome inter-packet gaps, also known as IAT (Inter Arrival Time).<br />However, plain RTP does not feature error recovery or error protection. By default, the RTP headers (which include the timestamps and sequences) are used on the input side, but then they are stripped off, and they no longer propagate to outputs.<br />- **RTP + SMPTE 2022 FEC** – the input stream includes forward error correction, which enables error recovery or error protection. |

## Advanced Settings

:::hint{type="warning"}
The Advanced Settings are generally intended for advanced users and special cases. If you do not understand the settings, you should probably accept the default values.
:::

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/iIaDShN6PP_1Wxy0k6cpz_udp-input-advanced.png" size="80" isUploading="false" position="center" width="780" height="748" darkWidth="780" darkHeight="748" showCaption="false"}

### Advanced Settings Table

| **Parameter**                | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Filter by SSM Source IP**  | Select this checkbox if you would like the Broadcaster to accept multicast packets only from the IP specified in the **SSM Source IP** field, even if the OS delivers packets from multiple sources for the same multicast group.                                                                                                                                                                                                                                     |
| **204 bytes TS packet**      | Enable this option if the stream has an MPEG-TS that uses 204 bytes packets. This will allow the UDP packets to be aligned with MPEG-TS packets.                                                                                                                                                                                                                                                                                                                      |
| **Bind to&#x20;**&#x4E;IC    | Select from the drop-down list the CIDR that represents the IP range where the desired NIC is accessed.                                                                                                                                                                                                                                                                                                                                                               |
| MTU                          | If you would like to configure the Maximum Transmission Unit (the largest data packet that a network-connected device will accept) for pulling the stream, enter the MTU in bytes in the MTU field.                                                                                                                                                                                                                                                                   |
| **Socket Buffer (bytes)**    | Specify the Socket Buffer value in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **Dejitter Buffer (ms)**     | A buffer size used to de-jitter RTP and UDP inputs. For RTP, packet timing is fixed according to packet arrival times and RTP timestamps. For UDP, dejittering is only based on arrival times. Default: 0.<br />Assuming that the timestamps in the RTP are accurate, this feature is helpful when the encoder generates an accurate timestamp on the stream, but the arrival is jittery/bursty. In case of jitter, specify a higher value than the RTP input jitter. |
| **Dejittering Clock Source** | Select which mechanism should be used in the calculation of the jitter:<br />- Arrival times<br />- RTP timestamps                                                                                                                                                                                                                                                                                                                                                    |
| **Keep RTP Headers**         | Select this checkbox to keep the **RTP headers** of the input. Keeping the input's RTP headers will propagate RTP headers to later processing steps, including failover groups and outputs (relevant for RTP inputs only).                                                                                                                                                                                                                                            |
| **Compression**              | Enables bandwidth optimization by replacing NULL packets with signaling information embedded in packet headers.<br />This reduces the overall bitrate without affecting content integrity. Since not all receivers support this compression method, it is optional. The system can receive compressed streams, but will only transmit compressed data when this option is explicitly enabled.                                                                         |

## Additional Settings

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/QAfZ14M9OAXNbpKczATPx_udp-input-additional-settings-1.png" size="80" isUploading="false" position="center" width="816" height="2178" darkWidth="816" darkHeight="2178" showCaption="false"}

### Additional Settings Table

| **Parameter**                       | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ----------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Additional Input Settings**       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Max Outputs                         | Specify the maximum number of concurrent output connections allowed for this stream. You can enter a value manually or use the Up/Down arrows that appear when hovering over the field. Default: Unlimited.<br />**Note**: This setting can be modified without interrupting an existing stream.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Latency offset (ms)                 | Specify the additional buffering time in milliseconds. Increasing this value can improve stream stability in unstable network conditions, but will increase end-to-end delay. Default: 0 ms                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Inject Metadata                     | Selecting this checkbox allows Zixi to create a PID that carries information about what hops a feed has travelled through on the way to its destination, including things like CC errors and IAT at each hop. The information is useful for debugging issues with streams.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Stats History                       | Select this checkbox to record stream statistics.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Analyze                             | Select this checkbox if you would like to enable stream analysis for the input.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Multicast                           | Select the **Enable Multicast On Pull Outputs** checkbox to enable the transmission of this stream’s outputs as multicast. A Broadcaster that will pull the stream will receive it in multicast. By default, ZEC is configured to allow transparent fallback to unicast if it is out of the LAN. Requires enabling **Multicast Pull** in the **Settings**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Multicast Only                      | Select this checkbox to force only multicast outputs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Custom multicast address            | Select this checkbox to manually define a specific **Multicast IP** address, **Port**, and **TTL** for the output stream, overriding the system's global Multicast Pool settings.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Encryption**                      | Encrypt the Input stream as it enters ZEC. The stream encryption prevents any further processing, such as analysis, transcoding, etc.<br />The encryption works in the following way:<br />- **If the stream has been encrypted at the source** - The stream will remain encrypted regardless of the output type. ZEC can only encrypt the stream after it has been decrypted.<br />- **If the stream is being encrypted by the ZEC** - it will be encrypted only if the output is a Zixi Pull or Zixi Push output. All other outputs will send out an unencrypted stream.<br />For more information, see [ZEC Encrypting an Input Stream](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-encrypting-an-input-stream).                                                                                                                                                                                              |
| Encryption Type                     | Select the type of Encryption:<br />- **None** (default) - no encryption<br />- **AES-128** - 32 hex characters (16 bytes) key<br />- **AES-192 -&#x20;**&#x34;8 hex characters (24 bytes) key<br />- **AES-256 -&#x20;**&#x36;4 hex characters (32 bytes) key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Encryption Key                      | Enter your own Encryption Key or click **Generate Key** to generate a random Encryption Key. The exact key should be used to decrypt the stream on the other end.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| SCTE-3&#x35;**&#x20;Injection**     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Support SCTE-35 injection           | Select this checkbox if you would like the stream to support SCTE-35 insertion.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Remove old SCTE-35 packets          | If SCTE-35 injection is supported, select this checkbox to clear out existing packets.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| SCTE-35 PID                         | Enter a PID number for SCTE-35 injection. You can enter a value manually or use the Up/Down arrows that appear when clicking the field. (or leave as **Auto** to match existing SCTE-35 PID)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Timeout for CBR \[90Khz]            | Designate an appropriate **timeout interval** when searching for a NULL packet to replace with the SCTE-35 packet to maintain PCR accuracy in CBR streams. You can enter a value manually or use the Up/Down arrows that appear when hovering over the field. If no NULL Packet is detected by the time the timeout is reached, the SCTE-35 will be inserted anyway, breaking PCR Accuracy momentarily. (if stream is VBR, set this to 0). The value is in cycle ticks, so 90,000 = 1000 ms, 180,000 = 2000 ms, etc.                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Recording**                       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Destination Type                    | Select the radio button for the desired storage type and then fill in the relevant parameters.<br />- **Record to disk –&#x20;**&#x74;he recording is saved on the local disk. It is possible to record to an external destination by replacing the default storage location with a symbolic link. To learn more, see the [ZEC Using an External Storage](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-using-an-external-storage) section.<br />- **Record to S3** – the file is saved to your AWS S3 Bucket. The mechanism uses AWS multipart upload. Amazon advises defining a lifetime rule for objects in the destination bucket.                                                                                                                                                                                                                                                                             |
| ***Record to Disk Parameters***     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| File Name Template                  | Specify the file name pattern that Zixi will use to generate when saving the recorded content. A separate file will be generated for each recording up to the time specified in the Max recorded file duration parameter (see above). After this duration, a new file will be generated.<br />The file name pattern can include any string and up to five variables listed below. Only the %T=HH.MM.SS creation time is mandatory. You can change the order of these variables and add text as long as you maintain the legitimate structure of the file in Linux and Windows:<br />- %S=stream id - optional.<br />- %Y=year - optional<br />- %M=month - optional<br />- %D=day - optional<br />- %T=HH.MM.SS creation time - mandatory<br />- %U=YYYYmmddTHHMMSSZ UTC timestamp<br />For example, the following pattern %Y\_recording%T.ts will generate the following file name 2017\_recording15:32:35.ts.            |
| Max recorded file duration (HH\:MM) | Specify the maximum time allotted for recording a video stream. Default: 2 hours                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Keep recorded files for (HH\:MM)    | Specify the maximum time for storing the recording. Default: 0 hours                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Custom Path                         | Optionally specify a storage location for the recorded files that is relative to the root folder. This location bypasses the location specified as the root folder in the **Settings** > **General&#x20;**&#x73;creen.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ***Record to S3 Parameters***       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| File Name Template                  | Specify the file name pattern that Zixi will use to generate when saving the recorded content. A separate file will be generated for each recording up to the time specified in the Max recorded file duration parameter (see above). After this duration, a new file will be generated.<br />The file name pattern can include any string and up to five variables listed below. Only the %T=HH.MM.SS creation time is mandatory. You can change the order of these variables and add text as long as you maintain the legitimate structure of the file in Linux and Windows:<br />- %S=stream id - optional.<br />- %Y=year - optional<br />- %M=month - optional<br />- %D=day - optional<br />- %T=HH.MM.SS creation time - mandatory<br />- %U=YYYYmmddTHHMMSSZ UTC timestamp - optional<br />For example, the following pattern %Y\_recording%T.ts will generate the following file name 2017\_recording15:32:35.ts. |
| Max recorded file duration \[hours] | Specify the maximum time allotted for recording a video stream. Default: 2 hours                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| URL                                 | Specify the URL of the S3 bucket.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Ignore TLS certificate errors       | TLS certificate for S3 bucket might be detected as faulty if bucket name contains dot\[s]. When this option is selected, Zixi Broadcaster will ignore the TLS certificate errors and transmit the stream to its destination.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Access Key                          | The access key that is used for accessing the S3 bucket.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Secret Key                          | The secret key that is used for accessing the S3 bucket.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Billing Code**                    | Billing codes are used to identify and differentiate traffic on a Zixi Broadcaster for billing purposes. When a billing code is added to a Source or Target, Zixi can track the traffic on that Broadcaster input or output separately from other inputs and outputs on the same Broadcaster. Billing codes are created by Zixi personnel on the Zixi Customer Portal for a particular organization.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Billing Code                        | Enter the billing code that corresponds to this stream. The relevant billing can be obtained from the organization that received the billing code from Zixi.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Billing Password                    | Enter the password that corresponds to this billing code.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Billing Tag                         | Enter an optional tag to help identify, filter, or group the traffic associated with this billing code.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Validate                            | Click to validate the Billing information.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Time Shift**                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Enable time shift                   | Select this checkbox to record the stream content and broadcast it after a specified delay. To deploy an input stream that uses the current stream's time shift, you need to configure a "Delayed" input stream, see [Adding Delayed Streams](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/adding-delayed-streams).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Duration                            | Specify the time of the delayed transmission of this stream. Maximum: 24 hours.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |

