Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
VbrRateControlProps Struct
Properties for VBR rate control.
| Stability | Experimental |
|---|---|
| Source | lib/video-codec-settings.ts |
Example
ts
// 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 bitrate: cdk.Bitrate;
const vbrRateControlProps: medialive_alpha.VbrRateControlProps = {
bitrate: bitrate,
maxBitrate: bitrate,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
import aws_cdk as cdk
# bitrate: cdk.Bitrate
vbr_rate_control_props = medialive_alpha.VbrRateControlProps(
bitrate=bitrate,
max_bitrate=bitrate
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
import software.amazon.awscdk.*;
Bitrate bitrate;
VbrRateControlProps vbrRateControlProps = VbrRateControlProps.builder()
.bitrate(bitrate)
.maxBitrate(bitrate)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
using Amazon.CDK;
Bitrate bitrate;
var vbrRateControlProps = new VbrRateControlProps {
Bitrate = bitrate,
MaxBitrate = bitrate
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
import cdk "github.com/aws/aws-cdk-go/awscdk"
var bitrate Bitrate
vbrRateControlProps := &VbrRateControlProps{
Bitrate: bitrate,
MaxBitrate: bitrate,
}