AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb

Overview

Note:

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

Instance Attribute Details

#encryptionTypes::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_manifestsArray<Types::HlsManifest>

A list of HLS manifest configurations.

Returns:



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_segmentsBoolean

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.

Returns:

  • (Boolean)


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_secondsInteger

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

Returns:

  • (Integer)


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