You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MediaPackageVod::Types::CmafPackage

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CmafPackage as input to an Aws::Client method, you can use a vanilla Hash:

{
  encryption: {
    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,
}

A CMAF packaging configuration.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#encryptionTypes::CmafEncryption

A CMAF encryption configuration.

Returns:

#hls_manifestsArray<Types::HlsManifest>

A list of HLS manifest configurations.

Returns:

#segment_duration_secondsInteger

Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.

Returns:

  • (Integer)

    Duration (in seconds) of each fragment.