interface Mp2SettingsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MediaLive.CfnChannel.Mp2SettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmedialive#CfnChannel_Mp2SettingsProperty |
Java | software.amazon.awscdk.services.medialive.CfnChannel.Mp2SettingsProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
bitrate? | number | The average bitrate in bits/second. |
coding | string | The MPEG2 Audio coding mode. |
sample | number | The 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.