You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaPackageVod::Types::HlsPackage
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaPackageVod::Types::HlsPackage
- Defined in:
- (unknown)
Overview
When passing HlsPackage as input to an Aws::Client method, you can use a vanilla Hash:
{
encryption: {
constant_initialization_vector: "__string",
encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
speke_key_provider: { # required
role_arn: "__string", # required
system_ids: ["__string"], # required
url: "__string", # required
},
},
hls_manifests: [ # required
{
ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
include_iframe_only_stream: false,
manifest_name: "__string",
program_date_time_interval_seconds: 1,
repeat_ext_x_key: false,
stream_selection: {
max_video_bits_per_second: 1,
min_video_bits_per_second: 1,
stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
},
},
],
segment_duration_seconds: 1,
use_audio_rendition_group: false,
}
An HTTP Live Streaming (HLS) packaging configuration.
Returned by:
Instance Attribute Summary collapse
-
#encryption ⇒ Types::HlsEncryption
An HTTP Live Streaming (HLS) encryption configuration.
-
#hls_manifests ⇒ Array<Types::HlsManifest>
A list of HLS manifest configurations.
-
#segment_duration_seconds ⇒ Integer
Duration (in seconds) of each fragment.
-
#use_audio_rendition_group ⇒ Boolean
When enabled, audio streams will be placed in rendition groups in the output.
Instance Attribute Details
#encryption ⇒ Types::HlsEncryption
An HTTP Live Streaming (HLS) encryption configuration.
#hls_manifests ⇒ Array<Types::HlsManifest>
A list of HLS manifest configurations.
#segment_duration_seconds ⇒ Integer
Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
#use_audio_rendition_group ⇒ Boolean
When enabled, audio streams will be placed in rendition groups in the output.