interface Mp2SettingsProperty
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MediaLive.CfnChannel.Mp2SettingsProperty |
![]() | software.amazon.awscdk.services.medialive.CfnChannel.Mp2SettingsProperty |
![]() | aws_cdk.aws_medialive.CfnChannel.Mp2SettingsProperty |
![]() | @aws-cdk/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 * as medialive from '@aws-cdk/aws-medialive';
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.