« blib/lib/Paws/MediaLive/AudioDescription.pm
↑ Summary
blib/lib/Paws/MediaLive/AudioNormalizationSettings.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaLive::AudioLanguageSelection; | ||
| 3 | use Moose; | ||
| 4 | has LanguageCode => (is => 'ro', isa => 'Str', request_name => 'languageCode', traits => ['NameInRequest'], required => 1); | ||
| 5 | has LanguageSelectionPolicy => (is => 'ro', isa => 'Str', request_name => 'languageSelectionPolicy', traits => ['NameInRequest']); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::MediaLive::AudioLanguageSelection | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::MediaLive::AudioLanguageSelection object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { LanguageCode => $value, ..., LanguageSelectionPolicy => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::AudioLanguageSelection object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->LanguageCode | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Audio Language Selection | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 B<REQUIRED> LanguageCode => Str | ||
| 43 | |||
| 44 | Selects a specific three-letter language code from within an audio | ||
| 45 | source. | ||
| 46 | |||
| 47 | |||
| 48 | =head2 LanguageSelectionPolicy => Str | ||
| 49 | |||
| 50 | When set to "strict", the transport stream demux strictly identifies | ||
| 51 | audio streams by their language descriptor. If a PMT update occurs such | ||
| 52 | that an audio stream matching the initially selected language is no | ||
| 53 | longer present then mute will be encoded until the language returns. If | ||
| 54 | "loose", then on a PMT update the demux will choose another audio | ||
| 55 | stream in the program with the same stream type if it can't find one | ||
| 56 | with the same language. | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head1 SEE ALSO | ||
| 61 | |||
| 62 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive> | ||
| 63 | |||
| 64 | =head1 BUGS and CONTRIBUTIONS | ||
| 65 | |||
| 66 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 67 | |||
| 68 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 69 | |||
| 70 | =cut | ||
| 71 |