You can add a second source to an existing flow for failover. Both sources on the flow must use the same protocol. (However, you can have one source that uses RTP and the other that uses RTP-FEC.) For more information about source failover, see Source failover.
To add a standard source to an existing flow (console)
Open the MediaConnect console at https://console.aws.amazon.com/mediaconnect/
. -
On the Flows page, choose the name of the flow that you want to update.
-
Choose the Source tab.
-
In the Source failover configuration section, choose Edit.
-
In the Edit source failover configuration window, make sure that Failover is set to Active.
Note
If you activate failover on a flow that is running, you might encounter a brief interruption in the flow output.
-
In the Failover mode drop-down menu, select the mode to use with your source protocol. For a list of the modes supported by each protocol, see Failover support for source protocols in MediaConnect
-
For Recovery window, specify the size of the buffer (delay) that you want the service to maintain. A larger buffer means a longer delay in transmitting the stream, but more room for error correction. A smaller buffer means a shorter delay, but less room for error correction. You can choose a value from 100–15000 ms. If you keep this field blank, MediaConnect uses the default value of 200 ms.
-
Choose Update.
-
In the Sources section, choose Add.
-
For Name, specify a name for your source. This value is an identifier that is visible only on the MediaConnect console.
-
For Source type, choose Standard source.
-
Determine which protocol your source uses.
Note
All sources on a flow must use the same protocol. However, you can have one source that uses RTP and the other that uses RTP-FEC.
-
For specific instructions based on your protocol, choose one of the following tabs:
-
For Protocol, choose RIST.
-
For Inbound port, specify the port that the flow listens on for incoming content.
Note
The RIST protocol requires one additional port for error correction. To accommodate this requirement, MediaConnect reserves the port that is +1 from the port that you specify. For example, if you specify port 4000 for the output, the service assigns ports 4000 and 4001.
-
For Allowlist CIDR, specify a range of IP addresses that are allowed to contribute content to your source. Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block, for example, 10.24.34.0/23. For more information about CIDR notation, see RFC 4632
. Important
Specify a CIDR block that is as precise as possible. Include only the IP addresses that you want to contribute content to your flow. If you specify a CIDR block that is too wide, it allows for the possibility of outside parties sending content to your flow.
-
For Maximum bitrate, specify the maximum expected bitrate (in bits per second) for the flow. We recommend that you specify a value that is twice the actual bitrate. The lowest value that you can enter in this field is 100 Kbps.
-
For Maximum latency, specify the size of the buffer (delay) that you want the service to maintain. A higher latency value means a longer delay in transmitting the stream, but more room for error correction. A lower latency value means a shorter delay, but less room for error correction. You can choose a value from 1–15,000 ms. If you keep this field blank, MediaConnect uses the default value of 2,000 ms.
-
Choose Save.