---
title: ZEC Adding TCP Outputs
slug: zixi-broadcaster-v19-new-ui/zec-adding-tcp-outputs
createdAt: 2024-12-26T19:40:05.369Z
---

The TCP protocol provides a reliable transmission guarantee for no loss of frames. Its bandwidth probing and congestion control will attempt to use all of the available bandwidth between the server and client, fetching content as quickly as possible while being friendly to other (TCP) traffic on the same links. The TCP output can push the stream directly to a TCP socket or to an HTTP server.&#x20;

## MultiPath TCP

Developed by the Internet Engineering Task Force's (IETF) Multipath TCP working group, MultiPath TCP (MPTCP) is an effort towards enabling the simultaneous use of several IP addresses/interfaces by a modification of TCP that presents a regular TCP interface to applications, while in fact spreading data across several subflows. Zixi supports MultiPath TCP for Linux based on the OS Kernel support. This means that the Linux Kernel should be updated to support MPTCP. For detailed information on how to update the Kernel and use MPTCP, see [ZEC Configuring MultiPath TCP](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-configuring-multipath-tcp).

The MPTCP functionality is similar to Zixi's "multi-link bonding" feature, which is available for UDP only. In this case, MPTCP works on TCP.

If both the sending end and the receiving end support MultiPath TCP, Zixi can use this functionality to transmit a stream over TCP using multiple network interfaces (e.g., Wi-Fi + mobile). The multiple links can be configured to:

- **Aggregate** - aggregate the bandwidth of the multiple links in order to use the total capacity of the links. In this case, Zixi will use all available bandwidth among all available flows (if needed) to send the stream.
- **Duplicate** - enhance the path's resiliency by duplicating the stream and sending it through multiple links in order to overcome errors and packet loss.&#x20;

## To create a TCP output:

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

:::WorkflowBlockItem
Click **Create**.

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

:::WorkflowBlockItem
Select **TCP**.

The **Create TCP Output** window is displayed.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/K3_n2JFHubV1DHcSiCOg7_zec-create-tcp-output.png" size="80" isUploading="false" position="center" width="1396" height="2003" darkWidth="1396" darkHeight="2003" showCaption="false"}
:::

:::WorkflowBlockItem
In the **Output Parameters** section, in the **Output Name** field, enter the unique identifier for this Output.
:::

:::WorkflowBlockItem
In the **Input Stream** field, select from the drop-down list the Input stream to be made available on this Output, or select **None, assign later** to assign the Input stream at a later time.
:::

:::WorkflowBlockItem
In the **Latency offset (ms)** field, 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
:::

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

:::WorkflowBlockItem
Select the **Show in Matrix** checkbox to display this stream in the Matrix (see [Using the Matrix](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/using-the-matrix)).
:::

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

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

:::WorkflowBlockItem
Click **Save**.

The new TCP Output with its settings is added to the ZEC and now appears in the list of Output streams available in the ZEC Outputs UI.
:::
::::

### TCP Settings Table

| **Parameter** | **Description**                                                                                                |
| ------------- | -------------------------------------------------------------------------------------------------------------- |
| Host          | The destination host for the stream.                                                                           |
| Port          | Specify the ports to listen on for TCP streams.                                                                |
| HTTP          | If the target is an HTTP server, select this checkbox. In this case, HTTP headers will be added to the stream. |

## Additional Settings

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/Ht3UK8b2kD3fvoEoK-Ua6_zec-tcp-output-additional-settings.png" size="80" isUploading="false" position="center" width="1373" height="1490" darkWidth="1373" darkHeight="1490" showCaption="false"}

### Additional Settings Table

| **Parameter**         | **Description**                                                                                                                                                                                                                                                                                                                                                         |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **TCP Advanced**      |                                                                                                                                                                                                                                                                                                                                                                         |
| Send buffer size (KB) | Specify the maximum amount of data (measured in kilobytes) that the operating system's network stack can buffer for a specific socket before it is acknowledged by the receiver.                                                                                                                                                                                        |
| IF&#x42;**/Talkback** |                                                                                                                                                                                                                                                                                                                                                                         |
| Enable IFB/Talkback   | Enables a return audio channel from the ZEC to the source, allowing operators, producers, or remote staff to communicate with the contributor during a live transmission.                                                                                                                                                                                               |
| Port                  | Defines the port used by the ZEC for the IFB/talkback return audio channel. The source or sending application must be configured to use the same port so it can receive the talkback audio from the ZEC.                                                                                                                                                                |
| **Decryption**        | Decrypt the encrypted Input stream as it enters ZEC. Please note that the stream will not be encrypted as it passes through the Zixi path. For more information, see [ZEC Decrypting an Input Stream](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-decrypting-an-input-stream).                                                                                |
| Decryption Type       | Select the type of Decryption:<br />- **None** (default) - no decryption<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                                                                                                          |
| Decryption Key        | Enter the exact key that was used for encrypting the stream.                                                                                                                                                                                                                                                                                                            |
| **Billing Code**      | Billing codes are used to identify and differentiate traffic on a ZEC for billing purposes. When a billing code is added to a Source or Target, Zixi can track the traffic on that ZEC input or output separately from other inputs and outputs on the same ZEC. 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.                                                                                                                                                                                                                                                                                                                              |

