You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Note:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

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

Returns:

  • (String)


665
666
667
668
669
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 665

class AudioLanguageSelection < Struct.new(
  :language_code,
  :language_selection_policy)
  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)


665
666
667
668
669
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 665

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