Failover or Redundancy
Input streams have an option to failover to an alternate source to provide stream level redundancy. The failover is NOT seamless and there will be an outage period where Bitstreams will reconfigure with the new source URL address.
Bitstreams supports have different input types for Input A or Input B
Failover can be configured during the encoding session creation or afterwards, on the encoding details page.
When an encoding session has been started, Bitstreams will automatically start with Input A.
Configuration
Session Creation
During the creation of the encoding session failover can be enabled. See Create Live Session
Encoding Details
The failover can be enabled or disabled on the encoding details page. This requires that the encoding session has been stopped. The user has the ability to configure different recovery and failover parameters. See Recovery Options section below.

Changing Input B
After the encoding session has been stopped, it is possible to change the input type for Input B. This can be done by clicking on the Change button.
A pop-up window will be displayed allowing the user to change the input time.

Switch to Alternate Input
After the encoding session is running the user can also manually force Bitstreams to switch the other Input URL address, without needing to stop the encoding session. This is not a seamless switch.

Recovery Options
There are two failover options:
- Failover with recovery attempts to Input A
- Failover and remain on Input B
Recovery attempts to Input A
When this mode has been selected, Bitstreams will attempt to switch back to Input A.

| Parameter | Units | Description |
|---|---|---|
| Failover Recovery Interval | Seconds | Interval that Bitstreams will wait until an attempt will be made before returning back to input A. Bitstreams will also verify that Input A is still active/present, before switching back. |
| Packet Error Threshold | Percent | Percentage of packet errors tolerated within a 30s moving window. If disabled, then Bitstreams will only failover if input A is no longer present. |
| Min Required Audio PIDs | 1-20 | Minimum number of usable audio PIDs (after stream remapping and template filtering) required from the active failover input. When the count falls below this value the encoder probes both inputs every 30 seconds and switches between A and B based on which side meets the threshold. |
Remain on Input B
When this mode has been selected, Bitstreams will remain on Input B and not attempt to switch back to input A.

| Parameter | Units | Description |
|---|---|---|
| Packet Error Threshold | Percent | Percentage of packet errors tolerated within a 30s moving window. If disabled, then Bitstreams will only failover if input A is no longer present. |
| Min Required Audio PIDs | 1-20 | Minimum number of usable audio PIDs (after stream remapping and template filtering) required from the active failover input. When the count falls below this value the encoder probes both inputs every 30 seconds and switches between A and B based on which side meets the threshold. |