---
title: ZEC Creating a Failover Group
slug: zixi-broadcaster-v19-new-ui/zec-creating-a-failover-group
createdAt: 2024-12-26T19:33:10.166Z
---

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.&#x20;

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.

:::hint{type="info"}
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.&#x20;

## To create a Failover Group:

::::WorkflowBlock
:::WorkflowBlockItem
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.
:::

:::WorkflowBlockItem
Click **Actions > Create failover group**.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/ABpZXt6MhpDsNZnuKjB1Z-20260310-124734.png" size="60" width="612" height="634" position="center" darkWidth="612" darkHeight="634" showCaption="false"}
:::

:::WorkflowBlockItem
The **Create** **Failover Group Input&#x20;**&#x77;indow is displayed:

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/Qu1P-ssOIDzWy4JQ8RInH_create-failover-group-input-1.png" size="80" width="832" height="1470" position="center" darkWidth="832" darkHeight="1470" showCaption="false"}
:::

:::WorkflowBlockItem
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.
:::

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

:::WorkflowBlockItem
Specify the **Source Inputs** (see **Source Inputs Table** below).
:::

:::WorkflowBlockItem
Specify the **Failover Settings** (see **Failover Settings Table** below).
:::

:::WorkflowBlockItem
Specify the **Time Shift** (see **Time Shift Table** below).
:::

:::WorkflowBlockItem
Specify the **Additional Settings** (see **Additional Settings Table** below).
:::

:::WorkflowBlockItem
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:<br />- **RTP headers or TS content** (default) – select this option if you are not sure if the sources have RTP headers. In this case, Zixi will try to merge using RTP, and if not, using the MPEG-TS content itself.<br />- **RTP headers (SMPTE 2022-7)** – select this option if the sources are RTP and the RTP headers were maintained. In this case, 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.<br />- **No merge** – select this option if you want Zixi to treat the streams as different and not try to merge the streams. In case the **Merge Mode** is set to **No Merge**, the **Search Window** time specifies how long the stream will wait for packets before attempting to switch between streams. |
| 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<br />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

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/q5gf0Hkcjo5xQEQm5IkID_time-shift.png" size="80" isUploading="false" position="center" width="792" height="221" darkWidth="792" darkHeight="221" showCaption="false"}

### 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

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/0Kq2oqCtQv-lx8Ss-URqE_failover-group-additional-settings.png" size="66" width="848" height="1539" position="center" darkWidth="848" darkHeight="1539" 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| 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.<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 [Using an External Storage](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/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 > HTTPS Administration&#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 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

