Class AacSettings
- java.lang.Object
-
- software.amazon.awssdk.services.medialive.model.AacSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AacSettings.Builder,AacSettings>
@Generated("software.amazon.awssdk:codegen") public final class AacSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AacSettings.Builder,AacSettings>
Aac Settings- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAacSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Doublebitrate()Average bitrate in bits/second.static AacSettings.Builderbuilder()AacCodingModecodingMode()Mono, Stereo, or 5.1 channel layout.StringcodingModeAsString()Mono, Stereo, or 5.1 channel layout.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AacInputTypeinputType()Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair.StringinputTypeAsString()Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair.AacProfileprofile()AAC Profile.StringprofileAsString()AAC Profile.AacRateControlModerateControlMode()Rate Control Mode.StringrateControlModeAsString()Rate Control Mode.AacRawFormatrawFormat()Sets LATM / LOAS AAC output for raw containers.StringrawFormatAsString()Sets LATM / LOAS AAC output for raw containers.DoublesampleRate()Sample rate in Hz.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AacSettings.Builder>serializableBuilderClass()AacSpecspec()Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.StringspecAsString()Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.AacSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.AacVbrQualityvbrQuality()VBR Quality Level - Only used if rateControlMode is VBR.StringvbrQualityAsString()VBR Quality Level - Only used if rateControlMode is VBR.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bitrate
public final Double bitrate()
Average bitrate in bits/second. Valid values depend on rate control mode and profile.- Returns:
- Average bitrate in bits/second. Valid values depend on rate control mode and profile.
-
codingMode
public final AacCodingMode codingMode()
Mono, Stereo, or 5.1 channel layout. Valid values depend on 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.If the service returns an enum value that is not available in the current SDK version,
codingModewill returnAacCodingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodingModeAsString().- Returns:
- Mono, Stereo, or 5.1 channel layout. Valid values depend on 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:
AacCodingMode
-
codingModeAsString
public final String codingModeAsString()
Mono, Stereo, or 5.1 channel layout. Valid values depend on 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.If the service returns an enum value that is not available in the current SDK version,
codingModewill returnAacCodingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodingModeAsString().- Returns:
- Mono, Stereo, or 5.1 channel layout. Valid values depend on 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:
AacCodingMode
-
inputType
public final AacInputType inputType()
Set to "broadcasterMixedAd" when 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; the encoder does not perform the mixing. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave set to "normal" when input does not contain pre-mixed audio + AD.If the service returns an enum value that is not available in the current SDK version,
inputTypewill returnAacInputType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominputTypeAsString().- Returns:
- Set to "broadcasterMixedAd" when 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; the encoder does not perform the mixing. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave set to "normal" when input does not contain pre-mixed audio + AD.
- See Also:
AacInputType
-
inputTypeAsString
public final String inputTypeAsString()
Set to "broadcasterMixedAd" when 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; the encoder does not perform the mixing. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave set to "normal" when input does not contain pre-mixed audio + AD.If the service returns an enum value that is not available in the current SDK version,
inputTypewill returnAacInputType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominputTypeAsString().- Returns:
- Set to "broadcasterMixedAd" when 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; the encoder does not perform the mixing. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave set to "normal" when input does not contain pre-mixed audio + AD.
- See Also:
AacInputType
-
profile
public final AacProfile profile()
AAC Profile.If the service returns an enum value that is not available in the current SDK version,
profilewill returnAacProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprofileAsString().- Returns:
- AAC Profile.
- See Also:
AacProfile
-
profileAsString
public final String profileAsString()
AAC Profile.If the service returns an enum value that is not available in the current SDK version,
profilewill returnAacProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprofileAsString().- Returns:
- AAC Profile.
- See Also:
AacProfile
-
rateControlMode
public final AacRateControlMode rateControlMode()
Rate Control Mode.If the service returns an enum value that is not available in the current SDK version,
rateControlModewill returnAacRateControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrateControlModeAsString().- Returns:
- Rate Control Mode.
- See Also:
AacRateControlMode
-
rateControlModeAsString
public final String rateControlModeAsString()
Rate Control Mode.If the service returns an enum value that is not available in the current SDK version,
rateControlModewill returnAacRateControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrateControlModeAsString().- Returns:
- Rate Control Mode.
- See Also:
AacRateControlMode
-
rawFormat
public final AacRawFormat rawFormat()
Sets LATM / LOAS AAC output for raw containers.If the service returns an enum value that is not available in the current SDK version,
rawFormatwill returnAacRawFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrawFormatAsString().- Returns:
- Sets LATM / LOAS AAC output for raw containers.
- See Also:
AacRawFormat
-
rawFormatAsString
public final String rawFormatAsString()
Sets LATM / LOAS AAC output for raw containers.If the service returns an enum value that is not available in the current SDK version,
rawFormatwill returnAacRawFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrawFormatAsString().- Returns:
- Sets LATM / LOAS AAC output for raw containers.
- See Also:
AacRawFormat
-
sampleRate
public final Double sampleRate()
Sample rate in Hz. Valid values depend on rate control mode and profile.- Returns:
- Sample rate in Hz. Valid values depend on rate control mode and profile.
-
spec
public final AacSpec spec()
Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.If the service returns an enum value that is not available in the current SDK version,
specwill returnAacSpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromspecAsString().- Returns:
- Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
- See Also:
AacSpec
-
specAsString
public final String specAsString()
Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.If the service returns an enum value that is not available in the current SDK version,
specwill returnAacSpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromspecAsString().- Returns:
- Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
- See Also:
AacSpec
-
vbrQuality
public final AacVbrQuality vbrQuality()
VBR Quality Level - Only used if rateControlMode is VBR.If the service returns an enum value that is not available in the current SDK version,
vbrQualitywill returnAacVbrQuality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvbrQualityAsString().- Returns:
- VBR Quality Level - Only used if rateControlMode is VBR.
- See Also:
AacVbrQuality
-
vbrQualityAsString
public final String vbrQualityAsString()
VBR Quality Level - Only used if rateControlMode is VBR.If the service returns an enum value that is not available in the current SDK version,
vbrQualitywill returnAacVbrQuality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvbrQualityAsString().- Returns:
- VBR Quality Level - Only used if rateControlMode is VBR.
- See Also:
AacVbrQuality
-
toBuilder
public AacSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AacSettings.Builder,AacSettings>
-
builder
public static AacSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends AacSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-