interface RtmpOutputDefinition
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.RtmpOutputDefinition |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#RtmpOutputDefinition |
Java | software.amazon.awscdk.services.medialive.alpha.RtmpOutputDefinition |
Python | aws_cdk.aws_medialive_alpha.RtmpOutputDefinition |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป RtmpOutputDefinition |
Implements
Output
Output definition for an RTMP output group.
outputName is normalised (underscores โ hyphens) for use as the destination reference ID.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
import * as cdk from 'aws-cdk-lib';
declare const encodeConfiguration: medialive_alpha.EncodeConfiguration;
declare const rtmpCertificateMode: medialive_alpha.RtmpCertificateMode;
declare const rtmpDestination: medialive_alpha.RtmpDestination;
const rtmpOutputDefinition: medialive_alpha.RtmpOutputDefinition = {
destinations: [rtmpDestination],
encodes: [encodeConfiguration],
outputName: 'outputName',
// the properties below are optional
certificateMode: rtmpCertificateMode,
connectionRetryInterval: cdk.Duration.minutes(30),
numRetries: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| destinations | Rtmp[] | The RTMP destination(s) for this output โ one per channel pipeline. |
| encodes | Encode[] | The encode configurations to wire to this output. |
| output | string | The name of this output. |
| certificate | Rtmp | The TLS certificate verification mode. |
| connection | Duration | The interval between connection retry attempts. |
| num | number | The number of retry attempts. |
destinations
Type:
Rtmp[]
The RTMP destination(s) for this output โ one per channel pipeline.
MediaLive publishes each RTMP output to one destination per pipeline (the console
calls these "Destination A" and "Destination B"). Provide a single destination for a
SINGLE_PIPELINE channel, or two (A then B) for a STANDARD channel.
encodes
Type:
Encode[]
The encode configurations to wire to this output.
outputName
Type:
string
The name of this output.
Must be unique across all outputs in the channel.
certificateMode?
Type:
Rtmp
(optional, default: service default)
The TLS certificate verification mode.
connectionRetryInterval?
Type:
Duration
(optional, default: service default)
The interval between connection retry attempts.
numRetries?
Type:
number
(optional, default: service default)
The number of retry attempts.

.NET
Go
Java
Python
TypeScript (