ZEC Creating a Failover Group
ZEC supports failover based on TR-101, CQA, and unrecovered packet errors. The trigger for the failover includes TR-101 P1 and P2 errors, Frozen Video, Blank Picture, Audio Clipping, Bitrate below threshold, and unrecovered packets. Through ZEN Master and through the Zixi API, it is possible to combine multiple triggers into a Boolean expression to determine when to trigger the failover.
In addition, Zixi features hitless failover for inputs, enabling undisrupted streaming when switching from one source to another. The hitless failover configuration involves grouping two or more inputs in a "Failover Group". If the inputs are identical (i.e., two or more binary-identical streams with synchronized RTP headers), whenever one of them is disrupted or interrupted completely, ZEC will seamlessly use the packets of the other input without any disruptions by "merging" the streams. The merging of the streams can be achieved using one of the following methods:
- RTP headers (SMPTE 2022-7) – if the sources are RTP and the RTP headers were maintained, Zixi will use the SMPTE 2022-7 to compare and merge the two streams in order to allow hitless failover. This option is the most recommended as it will use the sequence and the timestamp in the packets to compare which packets are missing. This method is more accurate than methods that compare the entire payload or methods that use sophisticated DNA sequencing algorithms, which are more error-prone, as the payload may have multiple matches.
- RTP headers or TS content – if the sources do not have RTP headers, Zixi will try to merge using the MPEG-TS content itself.
Note: If the streams are not identical, the failover process will not be seamless and may take up to a second.
The following procedure describes how to configure inputs as a Failover Group in ZEC.
To create a Failover Group:
On the Inputs page, select the checkboxes for the desired identical Input streams in the Inputs table.
The Actions drop-down menu appears at the top right of the page.
Click Actions > Create failover group.

The Create Failover Group Input window is displayed:

In the Input Parameters section, in the Input ID field, enter a new name for the Failover Group. This name will appear in the list of Inputs.
Select the Enable Logging checkbox if you would like to generate event logs for this input.
Specify the Source Inputs (see Source Inputs Table below).
Specify the Failover Settings (see Failover Settings Table below).
Specify the Time Shift (see Time Shift Table below).
Specify the Additional Settings (see Additional Settings Table below).
Click Save.
The Failover Group is added to the list of inputs, listing the sub-streams that are part of the group. The system will automatically detect the offset between the sub-streams and display it in milliseconds under Offset (ms).
Source Inputs Table
Parameter | Description |
|---|---|
Stream | Click this field to select from the drop-down list an Input stream for the Source. |
Min Bitrate (kbps) | Specify the bitrate threshold level in Kbps to perform the failover (i.e., if the bitrate drops under the threshold, the failover will take place). |
Backup | Select the checkbox to configure this Input stream as backup. Backup streams will be used only when all the "Primary" streams are down. |
Delete | Click the Delete icon to remove the Input stream from the group. |
+ Add Input | Click to add an additional Source Input to the Failover group. |
Failover Settings Table
Parameter | Description |
|---|---|
Merge mode | Select one of the following:
|
Search window (ms) | Enter the time frame in which the system can search for the relevant packets in a matching stream. If there is a latency difference between the streams in the group, the Search Window value should be higher than the latency difference between the streams. Default: 10000 ms |
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 Note – Overflows will typically occur when the Max Bitrate isn’t sufficient. |
Keep RTP headers | Selecting this checkbox enables using SMPTE 2022-2 FEC and 2022-7 hitless failover together. The failover group will use 2022-7 and will merge streams based on sequence in the RTP header, and not on content with DNA matching. When creating the Failover Group, select the Keep RTP Headers again (in the failover group screen) to keep the RTP headers after the merge. If it is not selected, Zixi will merge based on the headers (using SMTE 2022-7), but then drop the headers thereafter. |
Bypass check that streams are binary identical | Select this checkbox to disable the bit-for-bit verification of the constituent input streams. By default, the system requires streams in a failover group to be binary identical to ensure seamless, hitless switching. |
Inject Metadata | Select this checkbox to insert metadata into the stream. |
Time Shift

Time Shift Table
Parameter | Description |
|---|---|
Enable time shift | Select this checkbox if you would like the stream to be recorded and broadcast after the specified delay. The time shift feature is typically used to broadcast a live event across time zones (due to the time differences between locations). |
Duration | Specify the time of the delayed transmission of this stream. Maximum: 24 hours. |
Additional Settings

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. |
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 | Select this checkbox to insert metadata into the stream. |
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. |
Recording | |
Destination Type | Select the radio button for the desired storage type and then fill in the relevant parameters.
|
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. 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:
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 > HTTPS Administration screen. |
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. 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:
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 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. |