Adding a VPC source to an existing MediaConnect flow
You can add a second source to an existing transport stream flow for failover.
Both sources on the flow must be binary identical (come from the same encoder) and
they 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.
Before you begin this procedure, make sure that the following steps have been
completed:
MediaConnect doesn't support two sources on CDI flows. For redundancy with ST
2110 JPEG XS sources, you can specify two inbound VPC interfaces on an individual
media stream. For redundancy with CDI sources, create a second flow.
To add a VPC 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
Enabled.
If you enable failover on a flow that is running, you might encounter
a brief interruption in the flow output.
-
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
source.
-
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 VPC
source.
-
Determine which protocol your source uses.
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:
- RIST
-
-
For Protocol,
RIST will automatically be
selected.
-
For Inbound port, specify the
port that the flow listens on for incoming content.
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 VPC interface name, choose
the name of the VPC interface that you want to use as
the source.
-
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.
-
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.
- RTP or RTP-FEC
-
-
For Protocol, choose
RTP or
RTP-FEC.
-
For Inbound port, specify the
port that the flow listens on for incoming
content.
The RTP-FEC protocol requires two additional ports
for error correction. To accommodate this
requirement, MediaConnect reserves the ports that
are +2 and +4 from the port that you specify. For
example, if you specify port 4000 for the output,
the service assigns ports 4000, 4002, and 4004.
-
For VPC interface name, choose
the name of the VPC interface that you want to use as
the source.
-
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.
- SRT listener
-
-
For Protocol, SRT
listener will automatically be selected.
-
For Source description, enter a
description that will remind you later where this source
is from. This might be the company name or notes about
the setup.
-
For VPC interface name, choose
the name of the VPC interface that you want to use as
the source.
-
For Inbound port, specify the
port that the flow listens on for incoming
content.
-
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.
-
For Minimum 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 10 -15,000 ms. If you keep this field blank,
the service uses the default value of 2,000 ms.
The SRT protocol uses a minimum
latency configuration on each side of the
connection. The larger of these two values is used as
the recovery latency. If the
transmitted bitrate, multiplied by the recovery latency,
is higher than the receiver
buffer, the buffer will overflow and the
stream can fail with a Buffer Overflow
Error
. On the SRT receiver side, the receiver
buffer is configured by the SRTO_RCVBUF value. The size
of the receiver buffer is limited by the flow control window
size (SRTO_FC) value. On the MediaConnect side, the
receiver buffer is calculated as the maximum bitrate value
multiplied by the minimum
latency value. For more information about
the SRT buffer, see the SRT Configuration Guidelines.
-
If the source is encrypted, choose
Enable in the
Decryption section and do the
following:
- SRT caller
-
-
For Protocol, SRT caller will automatically be selected.
-
For Source description, enter a
description that will remind you later where this source
is from. This might be the company name or notes about
the setup.
-
For VPC interface name, choose
the name of the VPC interface that you want to use as
the source.
-
For Source listener
port, enter the port MediaConnect will
use for the SRT connection.
-
For Source listener
address, enter the address MediaConnect
will use for the SRT connection. The address can
be an IP address or a domain name.
-
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.
-
For Minimum 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 10 -15,000 ms. If you keep this field blank,
the service uses the default value of 2,000 ms.
The SRT protocol uses a minimum
latency configuration on each side of the
connection. The larger of these two values is used as
the recovery latency. If the
transmitted bitrate, multiplied by the recovery latency,
is higher than the receiver
buffer, the buffer will overflow and the
stream can fail with a Buffer Overflow
Error
. On the SRT receiver side, the receiver
buffer is configured by the SRTO_RCVBUF value. The size
of the receiver buffer is limited by the flow control window
size (SRTO_FC) value. On the MediaConnect side, the
receiver buffer is calculated as the maximum bitrate value
multiplied by the minimum
latency value. For more information about
the SRT buffer, see the SRT Configuration Guidelines.
-
For Stream
ID (optional), enter an identifier for
the stream. This identifier can be used to
communicate information about the stream.
-
If the source is encrypted, choose
Enable in the
Decryption section and do the
following:
- Zixi push
-
-
For Protocol, Zixi
push will automatically be selected.
AWS Elemental MediaConnect populates the value of the inbound
port.
-
For VPC interface name, choose
the name of the VPC interface that you want to use as
the source.
-
For Stream ID, specify the stream
ID set in the Zixi feeder.
The stream ID must match the value set in the Zixi
feeder. If you leave this field blank, MediaConnect uses
the source name as the stream ID. If the stream ID
is not exactly the same as the source name, you must
manually enter the stream ID.
-
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 0–60,000 ms. If you keep this field blank,
the service uses the default value of 6,000 ms.
-
If the source is encrypted, choose
Enable in the
Decryption section and do the
following:
-
For Decryption type,
choose Static key.
-
For Role ARN, specify the
ARN of the role that you created when you set up encryption.
-
For Secret ARN, specify
the ARN that AWS Secrets Manager assigned when you created the secret to store the encryption
key.
-
For Decryption algorithm,
choose the type of encryption that was used to
encrypt the source.
-
Choose Save.