« blib/lib/Paws/MediaLive/HlsCdnSettings.pm
↑ Summary
blib/lib/Paws/MediaLive/HlsId3SegmentTaggingScheduleActionSettings.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaLive::HlsGroupSettings; | ||
| 3 | use Moose; | ||
| 4 | has AdMarkers => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'adMarkers', traits => ['NameInRequest']); | ||
| 5 | has BaseUrlContent => (is => 'ro', isa => 'Str', request_name => 'baseUrlContent', traits => ['NameInRequest']); | ||
| 6 | has BaseUrlContent1 => (is => 'ro', isa => 'Str', request_name => 'baseUrlContent1', traits => ['NameInRequest']); | ||
| 7 | has BaseUrlManifest => (is => 'ro', isa => 'Str', request_name => 'baseUrlManifest', traits => ['NameInRequest']); | ||
| 8 | has BaseUrlManifest1 => (is => 'ro', isa => 'Str', request_name => 'baseUrlManifest1', traits => ['NameInRequest']); | ||
| 9 | has CaptionLanguageMappings => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::CaptionLanguageMapping]', request_name => 'captionLanguageMappings', traits => ['NameInRequest']); | ||
| 10 | has CaptionLanguageSetting => (is => 'ro', isa => 'Str', request_name => 'captionLanguageSetting', traits => ['NameInRequest']); | ||
| 11 | has ClientCache => (is => 'ro', isa => 'Str', request_name => 'clientCache', traits => ['NameInRequest']); | ||
| 12 | has CodecSpecification => (is => 'ro', isa => 'Str', request_name => 'codecSpecification', traits => ['NameInRequest']); | ||
| 13 | has ConstantIv => (is => 'ro', isa => 'Str', request_name => 'constantIv', traits => ['NameInRequest']); | ||
| 14 | has Destination => (is => 'ro', isa => 'Paws::MediaLive::OutputLocationRef', request_name => 'destination', traits => ['NameInRequest'], required => 1); | ||
| 15 | has DirectoryStructure => (is => 'ro', isa => 'Str', request_name => 'directoryStructure', traits => ['NameInRequest']); | ||
| 16 | has DiscontinuityTags => (is => 'ro', isa => 'Str', request_name => 'discontinuityTags', traits => ['NameInRequest']); | ||
| 17 | has EncryptionType => (is => 'ro', isa => 'Str', request_name => 'encryptionType', traits => ['NameInRequest']); | ||
| 18 | has HlsCdnSettings => (is => 'ro', isa => 'Paws::MediaLive::HlsCdnSettings', request_name => 'hlsCdnSettings', traits => ['NameInRequest']); | ||
| 19 | has HlsId3SegmentTagging => (is => 'ro', isa => 'Str', request_name => 'hlsId3SegmentTagging', traits => ['NameInRequest']); | ||
| 20 | has IFrameOnlyPlaylists => (is => 'ro', isa => 'Str', request_name => 'iFrameOnlyPlaylists', traits => ['NameInRequest']); | ||
| 21 | has IncompleteSegmentBehavior => (is => 'ro', isa => 'Str', request_name => 'incompleteSegmentBehavior', traits => ['NameInRequest']); | ||
| 22 | has IndexNSegments => (is => 'ro', isa => 'Int', request_name => 'indexNSegments', traits => ['NameInRequest']); | ||
| 23 | has InputLossAction => (is => 'ro', isa => 'Str', request_name => 'inputLossAction', traits => ['NameInRequest']); | ||
| 24 | has IvInManifest => (is => 'ro', isa => 'Str', request_name => 'ivInManifest', traits => ['NameInRequest']); | ||
| 25 | has IvSource => (is => 'ro', isa => 'Str', request_name => 'ivSource', traits => ['NameInRequest']); | ||
| 26 | has KeepSegments => (is => 'ro', isa => 'Int', request_name => 'keepSegments', traits => ['NameInRequest']); | ||
| 27 | has KeyFormat => (is => 'ro', isa => 'Str', request_name => 'keyFormat', traits => ['NameInRequest']); | ||
| 28 | has KeyFormatVersions => (is => 'ro', isa => 'Str', request_name => 'keyFormatVersions', traits => ['NameInRequest']); | ||
| 29 | has KeyProviderSettings => (is => 'ro', isa => 'Paws::MediaLive::KeyProviderSettings', request_name => 'keyProviderSettings', traits => ['NameInRequest']); | ||
| 30 | has ManifestCompression => (is => 'ro', isa => 'Str', request_name => 'manifestCompression', traits => ['NameInRequest']); | ||
| 31 | has ManifestDurationFormat => (is => 'ro', isa => 'Str', request_name => 'manifestDurationFormat', traits => ['NameInRequest']); | ||
| 32 | has MinSegmentLength => (is => 'ro', isa => 'Int', request_name => 'minSegmentLength', traits => ['NameInRequest']); | ||
| 33 | has Mode => (is => 'ro', isa => 'Str', request_name => 'mode', traits => ['NameInRequest']); | ||
| 34 | has OutputSelection => (is => 'ro', isa => 'Str', request_name => 'outputSelection', traits => ['NameInRequest']); | ||
| 35 | has ProgramDateTime => (is => 'ro', isa => 'Str', request_name => 'programDateTime', traits => ['NameInRequest']); | ||
| 36 | has ProgramDateTimePeriod => (is => 'ro', isa => 'Int', request_name => 'programDateTimePeriod', traits => ['NameInRequest']); | ||
| 37 | has RedundantManifest => (is => 'ro', isa => 'Str', request_name => 'redundantManifest', traits => ['NameInRequest']); | ||
| 38 | has SegmentationMode => (is => 'ro', isa => 'Str', request_name => 'segmentationMode', traits => ['NameInRequest']); | ||
| 39 | has SegmentLength => (is => 'ro', isa => 'Int', request_name => 'segmentLength', traits => ['NameInRequest']); | ||
| 40 | has SegmentsPerSubdirectory => (is => 'ro', isa => 'Int', request_name => 'segmentsPerSubdirectory', traits => ['NameInRequest']); | ||
| 41 | has StreamInfResolution => (is => 'ro', isa => 'Str', request_name => 'streamInfResolution', traits => ['NameInRequest']); | ||
| 42 | has TimedMetadataId3Frame => (is => 'ro', isa => 'Str', request_name => 'timedMetadataId3Frame', traits => ['NameInRequest']); | ||
| 43 | has TimedMetadataId3Period => (is => 'ro', isa => 'Int', request_name => 'timedMetadataId3Period', traits => ['NameInRequest']); | ||
| 44 | has TimestampDeltaMilliseconds => (is => 'ro', isa => 'Int', request_name => 'timestampDeltaMilliseconds', traits => ['NameInRequest']); | ||
| 45 | has TsFileMode => (is => 'ro', isa => 'Str', request_name => 'tsFileMode', traits => ['NameInRequest']); | ||
| 46 | |||
| 47 | 1; | ||
| 48 | |||
| 49 | ### main pod documentation begin ### | ||
| 50 | |||
| 51 | =head1 NAME | ||
| 52 | |||
| 53 | Paws::MediaLive::HlsGroupSettings | ||
| 54 | |||
| 55 | =head1 USAGE | ||
| 56 | |||
| 57 | This class represents one of two things: | ||
| 58 | |||
| 59 | =head3 Arguments in a call to a service | ||
| 60 | |||
| 61 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 62 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 63 | |||
| 64 | As an example, if Att1 is expected to be a Paws::MediaLive::HlsGroupSettings object: | ||
| 65 | |||
| 66 | $service_obj->Method(Att1 => { AdMarkers => $value, ..., TsFileMode => $value }); | ||
| 67 | |||
| 68 | =head3 Results returned from an API call | ||
| 69 | |||
| 70 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::HlsGroupSettings object: | ||
| 71 | |||
| 72 | $result = $service_obj->Method(...); | ||
| 73 | $result->Att1->AdMarkers | ||
| 74 | |||
| 75 | =head1 DESCRIPTION | ||
| 76 | |||
| 77 | Hls Group Settings | ||
| 78 | |||
| 79 | =head1 ATTRIBUTES | ||
| 80 | |||
| 81 | |||
| 82 | =head2 AdMarkers => ArrayRef[Str|Undef] | ||
| 83 | |||
| 84 | Choose one or more ad marker types to pass SCTE35 signals through to | ||
| 85 | this group of Apple HLS outputs. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 BaseUrlContent => Str | ||
| 89 | |||
| 90 | A partial URI prefix that will be prepended to each output in the media | ||
| 91 | .m3u8 file. Can be used if base manifest is delivered from a different | ||
| 92 | URL than the main .m3u8 file. | ||
| 93 | |||
| 94 | |||
| 95 | =head2 BaseUrlContent1 => Str | ||
| 96 | |||
| 97 | Optional. One value per output group. This field is required only if | ||
| 98 | you are completing Base URL content A, and the downstream system has | ||
| 99 | notified you that the media files for pipeline 1 of all outputs are in | ||
| 100 | a location different from the media files for pipeline 0. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 BaseUrlManifest => Str | ||
| 104 | |||
| 105 | A partial URI prefix that will be prepended to each output in the media | ||
| 106 | .m3u8 file. Can be used if base manifest is delivered from a different | ||
| 107 | URL than the main .m3u8 file. | ||
| 108 | |||
| 109 | |||
| 110 | =head2 BaseUrlManifest1 => Str | ||
| 111 | |||
| 112 | Optional. One value per output group. Complete this field only if you | ||
| 113 | are completing Base URL manifest A, and the downstream system has | ||
| 114 | notified you that the child manifest files for pipeline 1 of all | ||
| 115 | outputs are in a location different from the child manifest files for | ||
| 116 | pipeline 0. | ||
| 117 | |||
| 118 | |||
| 119 | =head2 CaptionLanguageMappings => ArrayRef[L<Paws::MediaLive::CaptionLanguageMapping>] | ||
| 120 | |||
| 121 | Mapping of up to 4 caption channels to caption languages. Is only | ||
| 122 | meaningful if captionLanguageSetting is set to "insert". | ||
| 123 | |||
| 124 | |||
| 125 | =head2 CaptionLanguageSetting => Str | ||
| 126 | |||
| 127 | Applies only to 608 Embedded output captions. insert: Include | ||
| 128 | CLOSED-CAPTIONS lines in the manifest. Specify at least one language in | ||
| 129 | the CC1 Language Code field. One CLOSED-CAPTION line is added for each | ||
| 130 | Language Code you specify. Make sure to specify the languages in the | ||
| 131 | order in which they appear in the original source (if the source is | ||
| 132 | embedded format) or the order of the caption selectors (if the source | ||
| 133 | is other than embedded). Otherwise, languages in the manifest will not | ||
| 134 | match up properly with the output captions. none: Include | ||
| 135 | CLOSED-CAPTIONS=NONE line in the manifest. omit: Omit any | ||
| 136 | CLOSED-CAPTIONS line from the manifest. | ||
| 137 | |||
| 138 | |||
| 139 | =head2 ClientCache => Str | ||
| 140 | |||
| 141 | When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the | ||
| 142 | manifest, which prevents clients from saving media segments for later | ||
| 143 | replay. | ||
| 144 | |||
| 145 | |||
| 146 | =head2 CodecSpecification => Str | ||
| 147 | |||
| 148 | Specification to use (RFC-6381 or the default RFC-4281) during m3u8 | ||
| 149 | playlist generation. | ||
| 150 | |||
| 151 | |||
| 152 | =head2 ConstantIv => Str | ||
| 153 | |||
| 154 | For use with encryptionType. This is a 128-bit, 16-byte hex value | ||
| 155 | represented by a 32-character text string. If ivSource is set to | ||
| 156 | "explicit" then this parameter is required and is used as the IV for | ||
| 157 | encryption. | ||
| 158 | |||
| 159 | |||
| 160 | =head2 B<REQUIRED> Destination => L<Paws::MediaLive::OutputLocationRef> | ||
| 161 | |||
| 162 | A directory or HTTP destination for the HLS segments, manifest files, | ||
| 163 | and encryption keys (if enabled). | ||
| 164 | |||
| 165 | |||
| 166 | =head2 DirectoryStructure => Str | ||
| 167 | |||
| 168 | Place segments in subdirectories. | ||
| 169 | |||
| 170 | |||
| 171 | =head2 DiscontinuityTags => Str | ||
| 172 | |||
| 173 | Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child | ||
| 174 | manifests for this output group. Typically, choose Insert because these | ||
| 175 | tags are required in the manifest (according to the HLS specification) | ||
| 176 | and serve an important purpose. Choose Never Insert only if the | ||
| 177 | downstream system is doing real-time failover (without using the | ||
| 178 | MediaLive automatic failover feature) and only if that downstream | ||
| 179 | system has advised you to exclude the tags. | ||
| 180 | |||
| 181 | |||
| 182 | =head2 EncryptionType => Str | ||
| 183 | |||
| 184 | Encrypts the segments with the given encryption scheme. Exclude this | ||
| 185 | parameter if no encryption is desired. | ||
| 186 | |||
| 187 | |||
| 188 | =head2 HlsCdnSettings => L<Paws::MediaLive::HlsCdnSettings> | ||
| 189 | |||
| 190 | Parameters that control interactions with the CDN. | ||
| 191 | |||
| 192 | |||
| 193 | =head2 HlsId3SegmentTagging => Str | ||
| 194 | |||
| 195 | State of HLS ID3 Segment Tagging | ||
| 196 | |||
| 197 | |||
| 198 | =head2 IFrameOnlyPlaylists => Str | ||
| 199 | |||
| 200 | DISABLED: Do not create an I-frame-only manifest, but do create the | ||
| 201 | master and media manifests (according to the Output Selection field). | ||
| 202 | STANDARD: Create an I-frame-only manifest for each output that contains | ||
| 203 | video, as well as the other manifests (according to the Output | ||
| 204 | Selection field). The I-frame manifest contains a #EXT-X-I-FRAMES-ONLY | ||
| 205 | tag to indicate it is I-frame only, and one or more #EXT-X-BYTERANGE | ||
| 206 | entries identifying the I-frame position. For example, | ||
| 207 | |||
| 208 | |||
| 209 | =head2 IncompleteSegmentBehavior => Str | ||
| 210 | |||
| 211 | Specifies whether to include the final (incomplete) segment in the | ||
| 212 | media output when the pipeline stops producing output because of a | ||
| 213 | channel stop, a channel pause or a loss of input to the pipeline. Auto | ||
| 214 | means that MediaLive decides whether to include the final segment, | ||
| 215 | depending on the channel class and the types of output groups. Suppress | ||
| 216 | means to never include the incomplete segment. We recommend you choose | ||
| 217 | Auto and let MediaLive control the behavior. | ||
| 218 | |||
| 219 | |||
| 220 | =head2 IndexNSegments => Int | ||
| 221 | |||
| 222 | Applies only if Mode field is LIVE. Specifies the maximum number of | ||
| 223 | segments in the media manifest file. After this maximum, older segments | ||
| 224 | are removed from the media manifest. This number must be smaller than | ||
| 225 | the number in the Keep Segments field. | ||
| 226 | |||
| 227 | |||
| 228 | =head2 InputLossAction => Str | ||
| 229 | |||
| 230 | Parameter that control output group behavior on input loss. | ||
| 231 | |||
| 232 | |||
| 233 | =head2 IvInManifest => Str | ||
| 234 | |||
| 235 | For use with encryptionType. The IV (Initialization Vector) is a | ||
| 236 | 128-bit number used in conjunction with the key for encrypting blocks. | ||
| 237 | If set to "include", IV is listed in the manifest, otherwise the IV is | ||
| 238 | not in the manifest. | ||
| 239 | |||
| 240 | |||
| 241 | =head2 IvSource => Str | ||
| 242 | |||
| 243 | For use with encryptionType. The IV (Initialization Vector) is a | ||
| 244 | 128-bit number used in conjunction with the key for encrypting blocks. | ||
| 245 | If this setting is "followsSegmentNumber", it will cause the IV to | ||
| 246 | change every segment (to match the segment number). If this is set to | ||
| 247 | "explicit", you must enter a constantIv value. | ||
| 248 | |||
| 249 | |||
| 250 | =head2 KeepSegments => Int | ||
| 251 | |||
| 252 | Applies only if Mode field is LIVE. Specifies the number of media | ||
| 253 | segments to retain in the destination directory. This number should be | ||
| 254 | bigger than indexNSegments (Num segments). We recommend (value = (2 x | ||
| 255 | indexNsegments) + 1). If this "keep segments" number is too low, the | ||
| 256 | following might happen: the player is still reading a media manifest | ||
| 257 | file that lists this segment, but that segment has been removed from | ||
| 258 | the destination directory (as directed by indexNSegments). This | ||
| 259 | situation would result in a 404 HTTP error on the player. | ||
| 260 | |||
| 261 | |||
| 262 | =head2 KeyFormat => Str | ||
| 263 | |||
| 264 | The value specifies how the key is represented in the resource | ||
| 265 | identified by the URI. If parameter is absent, an implicit value of | ||
| 266 | "identity" is used. A reverse DNS string can also be given. | ||
| 267 | |||
| 268 | |||
| 269 | =head2 KeyFormatVersions => Str | ||
| 270 | |||
| 271 | Either a single positive integer version value or a slash delimited | ||
| 272 | list of version values (1/2/3). | ||
| 273 | |||
| 274 | |||
| 275 | =head2 KeyProviderSettings => L<Paws::MediaLive::KeyProviderSettings> | ||
| 276 | |||
| 277 | The key provider settings. | ||
| 278 | |||
| 279 | |||
| 280 | =head2 ManifestCompression => Str | ||
| 281 | |||
| 282 | When set to gzip, compresses HLS playlist. | ||
| 283 | |||
| 284 | |||
| 285 | =head2 ManifestDurationFormat => Str | ||
| 286 | |||
| 287 | Indicates whether the output manifest should use floating point or | ||
| 288 | integer values for segment duration. | ||
| 289 | |||
| 290 | |||
| 291 | =head2 MinSegmentLength => Int | ||
| 292 | |||
| 293 | When set, minimumSegmentLength is enforced by looking ahead and back | ||
| 294 | within the specified range for a nearby avail and extending the segment | ||
| 295 | size if needed. | ||
| 296 | |||
| 297 | |||
| 298 | =head2 Mode => Str | ||
| 299 | |||
| 300 | If "vod", all segments are indexed and kept permanently in the | ||
| 301 | destination and manifest. If "live", only the number segments specified | ||
| 302 | in keepSegments and indexNSegments are kept; newer segments replace | ||
| 303 | older segments, which may prevent players from rewinding all the way to | ||
| 304 | the beginning of the event. VOD mode uses HLS EXT-X-PLAYLIST-TYPE of | ||
| 305 | EVENT while the channel is running, converting it to a "VOD" type | ||
| 306 | manifest on completion of the stream. | ||
| 307 | |||
| 308 | |||
| 309 | =head2 OutputSelection => Str | ||
| 310 | |||
| 311 | MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if | ||
| 312 | applicable, and media manifests) for this output group. | ||
| 313 | VARIANT_MANIFESTS_AND_SEGMENTS: Generates media manifests for this | ||
| 314 | output group, but not a master manifest. SEGMENTS_ONLY: Does not | ||
| 315 | generate any manifests for this output group. | ||
| 316 | |||
| 317 | |||
| 318 | =head2 ProgramDateTime => Str | ||
| 319 | |||
| 320 | Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest | ||
| 321 | files. The value is calculated as follows: either the program date and | ||
| 322 | time are initialized using the input timecode source, or the time is | ||
| 323 | initialized using the input timecode source and the date is initialized | ||
| 324 | using the timestampOffset. | ||
| 325 | |||
| 326 | |||
| 327 | =head2 ProgramDateTimePeriod => Int | ||
| 328 | |||
| 329 | Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. | ||
| 330 | |||
| 331 | |||
| 332 | =head2 RedundantManifest => Str | ||
| 333 | |||
| 334 | ENABLED: The master manifest (.m3u8 file) for each pipeline includes | ||
| 335 | information about both pipelines: first its own media files, then the | ||
| 336 | media files of the other pipeline. This feature allows playout device | ||
| 337 | that support stale manifest detection to switch from one manifest to | ||
| 338 | the other, when the current manifest seems to be stale. There are still | ||
| 339 | two destinations and two master manifests, but both master manifests | ||
| 340 | reference the media files from both pipelines. DISABLED: The master | ||
| 341 | manifest (.m3u8 file) for each pipeline includes information about its | ||
| 342 | own pipeline only. For an HLS output group with MediaPackage as the | ||
| 343 | destination, the DISABLED behavior is always followed. MediaPackage | ||
| 344 | regenerates the manifests it serves to players so a redundant manifest | ||
| 345 | from MediaLive is irrelevant. | ||
| 346 | |||
| 347 | |||
| 348 | =head2 SegmentationMode => Str | ||
| 349 | |||
| 350 | useInputSegmentation has been deprecated. The configured segment size | ||
| 351 | is always used. | ||
| 352 | |||
| 353 | |||
| 354 | =head2 SegmentLength => Int | ||
| 355 | |||
| 356 | Length of MPEG-2 Transport Stream segments to create (in seconds). Note | ||
| 357 | that segments will end on the next keyframe after this number of | ||
| 358 | seconds, so actual segment length may be longer. | ||
| 359 | |||
| 360 | |||
| 361 | =head2 SegmentsPerSubdirectory => Int | ||
| 362 | |||
| 363 | Number of segments to write to a subdirectory before starting a new | ||
| 364 | one. directoryStructure must be subdirectoryPerStream for this setting | ||
| 365 | to have an effect. | ||
| 366 | |||
| 367 | |||
| 368 | =head2 StreamInfResolution => Str | ||
| 369 | |||
| 370 | Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF | ||
| 371 | tag of variant manifest. | ||
| 372 | |||
| 373 | |||
| 374 | =head2 TimedMetadataId3Frame => Str | ||
| 375 | |||
| 376 | Indicates ID3 frame that has the timecode. | ||
| 377 | |||
| 378 | |||
| 379 | =head2 TimedMetadataId3Period => Int | ||
| 380 | |||
| 381 | Timed Metadata interval in seconds. | ||
| 382 | |||
| 383 | |||
| 384 | =head2 TimestampDeltaMilliseconds => Int | ||
| 385 | |||
| 386 | Provides an extra millisecond delta offset to fine tune the timestamps. | ||
| 387 | |||
| 388 | |||
| 389 | =head2 TsFileMode => Str | ||
| 390 | |||
| 391 | SEGMENTED_FILES: Emit the program as segments - multiple .ts media | ||
| 392 | files. SINGLE_FILE: Applies only if Mode field is VOD. Emit the program | ||
| 393 | as a single .ts media file. The media manifest includes | ||
| 394 | |||
| 395 | this value is when sending the output to AWS Elemental MediaConvert, | ||
| 396 | which can accept only a single media file. Playback while the channel | ||
| 397 | is running is not guaranteed due to HTTP server caching. | ||
| 398 | |||
| 399 | |||
| 400 | |||
| 401 | =head1 SEE ALSO | ||
| 402 | |||
| 403 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive> | ||
| 404 | |||
| 405 | =head1 BUGS and CONTRIBUTIONS | ||
| 406 | |||
| 407 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 408 | |||
| 409 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 410 | |||
| 411 | =cut | ||
| 412 |