Skip to content
v2.274.0

Mp2SettingsProperty Struct ​

The configuration for this MP2 audio.

The parent of this entity is AudioCodecSettings.

Example ​

ts
// 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 ​

bitratenumberbitrateint | floatbitrateNumberBitratedoubleBitrate*float64#
The average bitrate in bits/second.
codingModestringcoding_modestrcodingModeStringCodingModestringCodingMode*string#
The MPEG2 Audio coding mode.

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

sampleRatenumbersample_rateint | floatsampleRateNumberSampleRatedoubleSampleRate*float64#
The sample rate in Hz.