Class: Aws::MediaPackageVod::Types::CmafPackage
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaPackageVod::Types::CmafPackage
- Defined in:
- gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb
Overview
When making an API call, you may pass CmafPackage data as a hash:
{
encryption: {
constant_initialization_vector: "__string",
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
},
},
],
include_encoder_configuration_in_segments: false,
segment_duration_seconds: 1,
}
A CMAF packaging configuration.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#encryption ⇒ Types::CmafEncryption
A CMAF encryption configuration.
-
#hls_manifests ⇒ Array<Types::HlsManifest>
A list of HLS manifest configurations.
-
#include_encoder_configuration_in_segments ⇒ Boolean
When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment.
-
#segment_duration_seconds ⇒ Integer
Duration (in seconds) of each fragment.
Instance Attribute Details
#encryption ⇒ Types::CmafEncryption
A CMAF encryption configuration.
296 297 298 299 300 301 302 303 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 296 class CmafPackage < Struct.new( :encryption, :hls_manifests, :include_encoder_configuration_in_segments, :segment_duration_seconds) SENSITIVE = [] include Aws::Structure end |
#hls_manifests ⇒ Array<Types::HlsManifest>
A list of HLS manifest configurations.
296 297 298 299 300 301 302 303 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 296 class CmafPackage < Struct.new( :encryption, :hls_manifests, :include_encoder_configuration_in_segments, :segment_duration_seconds) SENSITIVE = [] include Aws::Structure end |
#include_encoder_configuration_in_segments ⇒ Boolean
When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.
296 297 298 299 300 301 302 303 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 296 class CmafPackage < Struct.new( :encryption, :hls_manifests, :include_encoder_configuration_in_segments, :segment_duration_seconds) SENSITIVE = [] include Aws::Structure end |
#segment_duration_seconds ⇒ Integer
Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
296 297 298 299 300 301 302 303 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 296 class CmafPackage < Struct.new( :encryption, :hls_manifests, :include_encoder_configuration_in_segments, :segment_duration_seconds) SENSITIVE = [] include Aws::Structure end |