Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
M2tsRateMode Class
The output bitrate mode of the transport stream.
Example
ts
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
Constant bitrate — inserts null packets to fill the configured bitrate.
The underlying string value passed to CloudFormation.
Variable bitrate — the configured bitrate acts as the maximum.
Methods
of(value: string): M2tsRateMode // chainable@staticmethod def of(value: str) -> M2tsRateModepublic static M2tsRateMode of(String value)public static M2tsRateMode Of(string value)func Of(Value *string) M2tsRateModestatic#A value not yet modelled by AWS CDK.