amazonka-medialive-2.0: Amazon Elemental MediaLive SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaLive.Types.AudioLanguageSelection

Description

 
Synopsis

Documentation

data AudioLanguageSelection Source #

Audio Language Selection

See: newAudioLanguageSelection smart constructor.

Constructors

AudioLanguageSelection' 

Fields

  • languageSelectionPolicy :: Maybe AudioLanguageSelectionPolicy

    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.

  • languageCode :: Text

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

Instances

Instances details
FromJSON AudioLanguageSelection Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AudioLanguageSelection

ToJSON AudioLanguageSelection Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AudioLanguageSelection

Generic AudioLanguageSelection Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AudioLanguageSelection

Associated Types

type Rep AudioLanguageSelection :: Type -> Type #

Read AudioLanguageSelection Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AudioLanguageSelection

Show AudioLanguageSelection Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AudioLanguageSelection

NFData AudioLanguageSelection Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AudioLanguageSelection

Methods

rnf :: AudioLanguageSelection -> () #

Eq AudioLanguageSelection Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AudioLanguageSelection

Hashable AudioLanguageSelection Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AudioLanguageSelection

type Rep AudioLanguageSelection Source # 
Instance details

Defined in Amazonka.MediaLive.Types.AudioLanguageSelection

type Rep AudioLanguageSelection = D1 ('MetaData "AudioLanguageSelection" "Amazonka.MediaLive.Types.AudioLanguageSelection" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "AudioLanguageSelection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "languageSelectionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AudioLanguageSelectionPolicy)) :*: S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAudioLanguageSelection Source #

Create a value of AudioLanguageSelection with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:languageSelectionPolicy:AudioLanguageSelection', audioLanguageSelection_languageSelectionPolicy - 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.

$sel:languageCode:AudioLanguageSelection', audioLanguageSelection_languageCode - Selects a specific three-letter language code from within an audio source.

audioLanguageSelection_languageSelectionPolicy :: Lens' AudioLanguageSelection (Maybe AudioLanguageSelectionPolicy) Source #

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.

audioLanguageSelection_languageCode :: Lens' AudioLanguageSelection Text Source #

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