ZEC Adding TCP Outputs
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.
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.
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.
To create a TCP output:
In the ZEC Navigation menu, click Outputs.
Click Create.
The Select Output Type page is displayed.
Select TCP.
The Create TCP Output window is displayed.

In the Output Parameters section, in the Output Name field, enter the unique identifier for this Output.
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.
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
Select the Enable Logging checkbox if you would like to generate event logs for this output.
Select the Show in Matrix checkbox to display this stream in the Matrix (see Using the Matrix).
Specify the TCP Settings (see TCP Settings TableTCP Settings Table below).
Specify the Additional Settings (see Additional Settings below).
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

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. |
IFB/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. |
Decryption Type | Select the type of Decryption:
|
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. |