public static final class CfnChannel.AacSettingsProperty.Builder
extends java.lang.Object
CfnChannel.AacSettingsProperty
Constructor and Description |
---|
Builder() |
public CfnChannel.AacSettingsProperty.Builder bitrate(java.lang.Number bitrate)
CfnChannel.AacSettingsProperty.getBitrate()
bitrate
- The average bitrate in bits/second.
Valid values depend on the rate control mode and profile.this
public CfnChannel.AacSettingsProperty.Builder codingMode(java.lang.String codingMode)
CfnChannel.AacSettingsProperty.getCodingMode()
codingMode
- 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.this
public CfnChannel.AacSettingsProperty.Builder inputType(java.lang.String inputType)
CfnChannel.AacSettingsProperty.getInputType()
inputType
- 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.this
public CfnChannel.AacSettingsProperty.Builder profile(java.lang.String profile)
CfnChannel.AacSettingsProperty.getProfile()
profile
- The AAC profile.this
public CfnChannel.AacSettingsProperty.Builder rateControlMode(java.lang.String rateControlMode)
CfnChannel.AacSettingsProperty.getRateControlMode()
rateControlMode
- The rate control mode.this
public CfnChannel.AacSettingsProperty.Builder rawFormat(java.lang.String rawFormat)
CfnChannel.AacSettingsProperty.getRawFormat()
rawFormat
- Sets the LATM/LOAS AAC output for raw containers.this
public CfnChannel.AacSettingsProperty.Builder sampleRate(java.lang.Number sampleRate)
CfnChannel.AacSettingsProperty.getSampleRate()
sampleRate
- The sample rate in Hz.
Valid values depend on the rate control mode and profile.this
public CfnChannel.AacSettingsProperty.Builder spec(java.lang.String spec)
CfnChannel.AacSettingsProperty.getSpec()
spec
- Uses MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.this
public CfnChannel.AacSettingsProperty.Builder vbrQuality(java.lang.String vbrQuality)
CfnChannel.AacSettingsProperty.getVbrQuality()
vbrQuality
- The VBR quality level.
This is used only if rateControlMode is VBR.this
public CfnChannel.AacSettingsProperty build()
CfnChannel.AacSettingsProperty
java.lang.NullPointerException
- if any required attribute was not provided