For transport stream flows, you can add up to 50 outputs. However, for optimal performance, follow the guidance offered in Best practices. A standard output goes to any destination that is not part of a virtual private cloud (VPC) that you created using Amazon Virtual Private Cloud.
Note
CDI flows don't support standard outputs.
To add a standard output to a 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 add an output to.
The details page for that flow appears.
-
Choose the Outputs tab.
-
Choose Add output.
-
For Name, specify a name for your output. This value is an identifier that is visible only on the AWS Elemental MediaConnect console and is not visible to the end user.
-
For Output type, choose Standard output.
-
For Description, enter a description that will remind you later where this output is going. This might be the company name or notes about the setup.
-
Determine which protocol you want to use for the output.
-
For specific instructions based on the protocol that you want to use, choose one of the following tabs:
-
For Protocol, choose RIST.
-
For IP address, choose the IP address where you want to send the output.
-
For Port, choose the port that you want to use when the content is distributed to this output. For more information about ports, see Output destinations.
Note
The RIST protocol requires one additional port for error correction. To accommodate this requirement, AWS Elemental 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 Smoothing latency, specify the additional delay that you want to use with output smoothing. We recommend that you specify a value of 0 ms to disable smoothing. However, if the receiver can't process the stream properly, specify a value between 100 and 1,000 ms. This way, AWS Elemental MediaConnect attempts to correct jitter from the flow source. If you keep this field blank, the service uses the default value of 0 ms.
-
Choose Add output.
To add an output to a flow (AWS CLI)
-
Create a JSON file that contains the details of the output that you want to add to the flow.
The following example shows the structure for the contents of the file:
{ "FlowArn": "
arn:aws:mediaconnect:us-east-1:111122223333:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BasketballGame
", "Outputs": [ { "Description": "RTP-FEC Output
", "Destination": "192.0.2.12
", "Name": "RTPOutput
", "Port":5020
, "Protocol": "rtp-fec
", "SmoothingLatency":100
} ] } -
In the AWS CLI, use the
add-flow-output
command:aws mediaconnect add-flow-outputs --flow-arn "
arn:aws:mediaconnect:us-east-1:111122223333:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BasketballGame
" --cli-input-json file://addFlowOutput.txt
--regionus-west-2
The following example shows the return value:
{ "FlowArn": "arn:aws:mediaconnect:us-east-1:111122223333:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BasketballGame", "Outputs": [ { "Name": "RTPOutput", "Port": 5020, "Transport": { "SmoothingLatency": 100, "Protocol": "rtp-fec" }, "Destination": "192.0.2.12", "OutputArn": "arn:aws:mediaconnect:us-east-1:111122223333:output:2-3aBC45dEF67hiJ89-c34de5fG678h:RTPOutput", "Description": "RTP-FEC Output" } ] }