Enum CmfcAudioTrackType
java.lang.Object
java.lang.Enum<CmfcAudioTrackType>
software.amazon.awssdk.services.mediaconvert.model.CmfcAudioTrackType
- All Implemented Interfaces:
Serializable
,Comparable<CmfcAudioTrackType>
@Generated("software.amazon.awssdk:codegen")
public enum CmfcAudioTrackType
extends Enum<CmfcAudioTrackType>
Use this setting to control the values that MediaConvert puts in your HLS parent playlist to control how the client
player selects which audio track to play. Choose Audio-only variant stream (AUDIO_ONLY_VARIANT_STREAM) for any
variant that you want to prohibit the client from playing with video. This causes MediaConvert to represent the
variant as an EXT-X-STREAM-INF in the HLS manifest. The other options for this setting determine the values that
MediaConvert writes for the DEFAULT and AUTOSELECT attributes of the EXT-X-MEDIA entry for the audio variant. For
more information about these attributes, see the Apple documentation article
https://developer.apple.com/documentation
/http_live_streaming/example_playlists_for_http_live_streaming/adding_alternate_media_to_a_playlist. Choose Alternate
audio, auto select, default to set DEFAULT=YES and AUTOSELECT=YES. Choose this value for only one variant in your
output group. Choose Alternate audio, auto select, not default to set DEFAULT=NO and AUTOSELECT=YES. Choose Alternate
Audio, Not Auto Select to set DEFAULT=NO and AUTOSELECT=NO. When you don't specify a value for this setting,
MediaConvert defaults to Alternate audio, auto select, default. When there is more than one variant in your output
group, you must explicitly choose a value for this setting.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CmfcAudioTrackType
Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set
<CmfcAudioTrackType> toString()
static CmfcAudioTrackType
Returns the enum constant of this type with the specified name.static CmfcAudioTrackType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT
-
ALTERNATE_AUDIO_AUTO_SELECT
-
ALTERNATE_AUDIO_NOT_AUTO_SELECT
-
AUDIO_ONLY_VARIANT_STREAM
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<CmfcAudioTrackType>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value
- real value- Returns:
- CmfcAudioTrackType corresponding to the value
-
knownValues
Use this in place ofvalues()
to return aSet
of all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION
.- Returns:
- a
Set
of knownCmfcAudioTrackType
s
-