class M2tsRateMode
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.M2tsRateMode |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#M2tsRateMode |
Java | software.amazon.awscdk.services.medialive.alpha.M2tsRateMode |
Python | aws_cdk.aws_medialive_alpha.M2tsRateMode |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป M2tsRateMode |
The output bitrate mode of the transport stream.
Example
declare const video: medialive.EncodeConfiguration;
declare const audio: medialive.EncodeConfiguration;
medialive.OutputGroupConfiguration.udp({
name: 'udp_out',
destinations: [medialive.UdpOutputDestination.udp({ address: '203.0.113.5', port: 5000 })],
outputs: [{
encodes: [video, audio],
outputName: 'ts',
m2tsSettings: medialive.M2tsSettings.of({
bitrate: Bitrate.mbps(8),
rateMode: medialive.M2tsRateMode.VBR,
programNum: 1,
patInterval: Duration.millis(100),
pmtInterval: Duration.millis(100),
scte35Control: medialive.M2tsScte35Control.PASSTHROUGH,
dvbSdtSettings: {
outputSdt: medialive.DvbSdtOutputMode.SDT_MANUAL,
serviceName: 'My Service',
repInterval: Duration.millis(2000),
},
}),
}],
});
Properties
| Name | Type | Description |
|---|---|---|
| value | string | The underlying string value passed to CloudFormation. |
| static CBR | M2ts | Constant bitrate โ inserts null packets to fill the configured bitrate. |
| static VBR | M2ts | Variable bitrate โ the configured bitrate acts as the maximum. |
value
Type:
string
The underlying string value passed to CloudFormation.
static CBR
Type:
M2ts
Constant bitrate โ inserts null packets to fill the configured bitrate.
static VBR
Type:
M2ts
Variable bitrate โ the configured bitrate acts as the maximum.
Methods
| Name | Description |
|---|---|
| static of(value) | A value not yet modelled by AWS CDK. |
static of(value)
public static of(value: string): M2tsRateMode
Parameters
- value
string
Returns
A value not yet modelled by AWS CDK.

.NET
Go
Java
Python
TypeScript (