aws-cdk-lib.aws_medialive.CfnChannel.Mp2SettingsProperty

interface Mp2SettingsProperty

LanguageType name
.NETAmazon.CDK.AWS.MediaLive.CfnChannel.Mp2SettingsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmedialive#CfnChannel_Mp2SettingsProperty
Javasoftware.amazon.awscdk.services.medialive.CfnChannel.Mp2SettingsProperty
Pythonaws_cdk.aws_medialive.CfnChannel.Mp2SettingsProperty
TypeScript aws-cdk-lib » aws_medialive » CfnChannel » Mp2SettingsProperty

The configuration for this MP2 audio.

The parent of this entity is AudioCodecSettings.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const mp2SettingsProperty: medialive.CfnChannel.Mp2SettingsProperty = {
  bitrate: 123,
  codingMode: 'codingMode',
  sampleRate: 123,
};

Properties

NameTypeDescription
bitrate?numberThe average bitrate in bits/second.
codingMode?stringThe MPEG2 Audio coding mode.
sampleRate?numberThe sample rate in Hz.

bitrate?

Type: number (optional)

The average bitrate in bits/second.


codingMode?

Type: string (optional)

The MPEG2 Audio coding mode.

Valid values are codingMode10 (for mono) or codingMode20 (for stereo).


sampleRate?

Type: number (optional)

The sample rate in Hz.