Interface CfnChannel.AacSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannel.AacSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnChannel
@Stability(Stable)
public static interface CfnChannel.AacSettingsProperty
extends software.amazon.jsii.JsiiSerializable
The settings for an AAC audio encode in the output.
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 software.amazon.awscdk.services.medialive.*;
AacSettingsProperty aacSettingsProperty = AacSettingsProperty.builder()
.bitrate(123)
.codingMode("codingMode")
.inputType("inputType")
.profile("profile")
.rateControlMode("rateControlMode")
.rawFormat("rawFormat")
.sampleRate(123)
.spec("spec")
.vbrQuality("vbrQuality")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannel.AacSettingsPropertystatic final classAn implementation forCfnChannel.AacSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe average bitrate in bits/second.default StringMono, stereo, or 5.1 channel layout.default StringSet to broadcasterMixedAd when the input contains pre-mixed main audio + AD (narration) as a stereo pair.default StringThe AAC profile.default StringThe rate control mode.default StringSets the LATM/LOAS AAC output for raw containers.default NumberThe sample rate in Hz.default StringgetSpec()Uses MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.default StringThe VBR quality level.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBitrate
The average bitrate in bits/second.Valid values depend on the rate control mode and profile.
- See Also:
-
getCodingMode
Mono, stereo, or 5.1 channel layout. Valid values depend on the rate control mode and profile. The adReceiverMix setting receives a stereo description plus control track, and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.- See Also:
-
getInputType
Set to broadcasterMixedAd when the input contains pre-mixed main audio + AD (narration) as a stereo pair.The Audio Type field (audioType) will be set to 3, which signals to downstream systems that this stream contains broadcaster mixed AD. Note that the input received by the encoder must contain pre-mixed audio; MediaLive does not perform the mixing. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave this set to normal when the input does not contain pre-mixed audio + AD.
- See Also:
-
getProfile
The AAC profile.- See Also:
-
getRateControlMode
The rate control mode.- See Also:
-
getRawFormat
Sets the LATM/LOAS AAC output for raw containers.- See Also:
-
getSampleRate
The sample rate in Hz.Valid values depend on the rate control mode and profile.
- See Also:
-
getSpec
Uses MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.- See Also:
-
getVbrQuality
The VBR quality level.This is used only if rateControlMode is VBR.
- See Also:
-
builder
-