interface Mp2SettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaLive.Mixins.CfnChannelPropsMixin.Mp2SettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmedialive/mixins#CfnChannelPropsMixin_Mp2SettingsProperty |
Java | software.amazon.awscdk.mixins.preview.services.medialive.mixins.CfnChannelPropsMixin.Mp2SettingsProperty |
Python | aws_cdk.mixins_preview.aws_medialive.mixins.CfnChannelPropsMixin.Mp2SettingsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_medialive » mixins » CfnChannelPropsMixin » 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 { mixins as medialive_mixins } from '@aws-cdk/mixins-preview/aws-medialive';
const mp2SettingsProperty: medialive_mixins.CfnChannelPropsMixin.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.

.NET
Go
Java
Python
TypeScript