Enum 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 Detail

      • ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT

        public static final CmfcAudioTrackType ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT
      • ALTERNATE_AUDIO_AUTO_SELECT

        public static final CmfcAudioTrackType ALTERNATE_AUDIO_AUTO_SELECT
      • ALTERNATE_AUDIO_NOT_AUTO_SELECT

        public static final CmfcAudioTrackType ALTERNATE_AUDIO_NOT_AUTO_SELECT
      • AUDIO_ONLY_VARIANT_STREAM

        public static final CmfcAudioTrackType AUDIO_ONLY_VARIANT_STREAM
    • Method Detail

      • values

        public static CmfcAudioTrackType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CmfcAudioTrackType c : CmfcAudioTrackType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CmfcAudioTrackType valueOf​(String name)
        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 name
        NullPointerException - if the argument is null
      • fromValue

        public static CmfcAudioTrackType fromValue​(String value)
        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