Class: Aws::MediaLive::Types::AudioLanguageSelection

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-medialive/types.rb

Overview

Note:

When making an API call, you may pass AudioLanguageSelection data as a hash:

{
  language_code: "__string", # required
  language_selection_policy: "LOOSE", # accepts LOOSE, STRICT
}

Audio Language Selection

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

Selects a specific three-letter language code from within an audio source.

Returns:

  • (String)


831
832
833
834
835
836
# File 'lib/aws-sdk-medialive/types.rb', line 831

class AudioLanguageSelection < Struct.new(
  :language_code,
  :language_selection_policy)
  SENSITIVE = []
  include Aws::Structure
end

#language_selection_policyString

When set to “strict”, the transport stream demux strictly identifies audio streams by their language descriptor. If a PMT update occurs such that an audio stream matching the initially selected language is no longer present then mute will be encoded until the language returns. If “loose”, then on a PMT update the demux will choose another audio stream in the program with the same stream type if it can’t find one with the same language.

Returns:

  • (String)


831
832
833
834
835
836
# File 'lib/aws-sdk-medialive/types.rb', line 831

class AudioLanguageSelection < Struct.new(
  :language_code,
  :language_selection_policy)
  SENSITIVE = []
  include Aws::Structure
end