Class AacSettings
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AacSettings.Builder,
AacSettings>
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Double
bitrate()
Average bitrate in bits/second.static AacSettings.Builder
builder()
final AacCodingMode
Mono, Stereo, or 5.1 channel layout.final String
Mono, Stereo, or 5.1 channel layout.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final AacInputType
Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair.final String
Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair.final AacProfile
profile()
AAC Profile.final String
AAC Profile.final AacRateControlMode
Rate Control Mode.final String
Rate Control Mode.final AacRawFormat
Sets LATM / LOAS AAC output for raw containers.final String
Sets LATM / LOAS AAC output for raw containers.final Double
Sample rate in Hz.static Class
<? extends AacSettings.Builder> final AacSpec
spec()
Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.final String
Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final AacVbrQuality
VBR Quality Level - Only used if rateControlMode is VBR.final String
VBR Quality Level - Only used if rateControlMode is VBR.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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,
codingMode
will 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:
-
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,
codingMode
will 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:
-
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,
inputType
will 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:
-
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,
inputType
will 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:
-
profile
AAC Profile.If the service returns an enum value that is not available in the current SDK version,
profile
will returnAacProfile.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprofileAsString()
.- Returns:
- AAC Profile.
- See Also:
-
profileAsString
AAC Profile.If the service returns an enum value that is not available in the current SDK version,
profile
will returnAacProfile.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprofileAsString()
.- Returns:
- AAC Profile.
- See Also:
-
rateControlMode
Rate Control Mode.If the service returns an enum value that is not available in the current SDK version,
rateControlMode
will returnAacRateControlMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromrateControlModeAsString()
.- Returns:
- Rate Control Mode.
- See Also:
-
rateControlModeAsString
Rate Control Mode.If the service returns an enum value that is not available in the current SDK version,
rateControlMode
will returnAacRateControlMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromrateControlModeAsString()
.- Returns:
- Rate Control Mode.
- See Also:
-
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,
rawFormat
will 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:
-
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,
rawFormat
will 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:
-
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
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,
spec
will 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:
-
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,
spec
will 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:
-
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,
vbrQuality
will 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:
-
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,
vbrQuality
will 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:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AacSettings.Builder,
AacSettings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-