interface RtmpOutputGroupProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.RtmpOutputGroupProps |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#RtmpOutputGroupProps |
Java | software.amazon.awscdk.services.medialive.alpha.RtmpOutputGroupProps |
Python | aws_cdk.aws_medialive_alpha.RtmpOutputGroupProps |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป RtmpOutputGroupProps |
Properties for an RTMP output group.
Example
declare const video: medialive.EncodeConfiguration;
declare const audio: medialive.EncodeConfiguration;
medialive.OutputGroupConfiguration.rtmp({
name: 'social',
outputs: [{
encodes: [video, audio],
outputName: 'live',
destinations: [
medialive.RtmpDestination.url('rtmp://rtmp.example.com/live', 'your-stream-key'),
],
}],
});
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of this output group. |
| outputs | Rtmp[] | The outputs for this RTMP output group. |
| ad | Rtmp[] | Choose the ad marker type for this output group. |
| authentication | Rtmp | The authentication scheme for the RTMP connection. |
| cache | Rtmp | Controls behavior when the content cache fills up. |
| cache | Duration | The cache length, in seconds, that is used to calculate buffer size. |
| caption | Rtmp | Controls the types of data that pass to onCaptionInfo outputs. |
| include | Rtmp | Controls whether filler NAL units are included in the output. |
| input | Rtmp | Controls the behavior of this RTMP group if the input becomes unavailable. |
| restart | Duration | The delay before restarting after a streaming output failure. |
name
Type:
string
The name of this output group.
outputs
Type:
Rtmp[]
The outputs for this RTMP output group.
Each output includes its own RTMP destination.
adMarkers?
Type:
Rtmp[]
(optional, default: no ad markers)
Choose the ad marker type for this output group.
authenticationScheme?
Type:
Rtmp
(optional, default: RtmpAuthenticationScheme.COMMON)
The authentication scheme for the RTMP connection.
cacheFullBehavior?
Type:
Rtmp
(optional, default: service default)
Controls behavior when the content cache fills up.
cacheLength?
Type:
Duration
(optional, default: service default)
The cache length, in seconds, that is used to calculate buffer size.
captionData?
Type:
Rtmp
(optional, default: service default)
Controls the types of data that pass to onCaptionInfo outputs.
includeFillerNalUnits?
Type:
Rtmp
(optional, default: service default)
Controls whether filler NAL units are included in the output.
inputLossAction?
Type:
Rtmp
(optional, default: service default)
Controls the behavior of this RTMP group if the input becomes unavailable.
restartDelay?
Type:
Duration
(optional, default: Duration.seconds(1))
The delay before restarting after a streaming output failure.
A value of
Duration.seconds(0) means never restart.

.NET
Go
Java
Python
TypeScript (