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

Class: Aws::MediaPackage::Types::CmafPackage

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

Overview

A Common Media Application Format (CMAF) packaging configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#encryptionTypes::CmafEncryption

A Common Media Application Format (CMAF) encryption configuration.



160
161
162
163
164
165
166
167
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 160

class CmafPackage < Struct.new(
  :encryption,
  :hls_manifests,
  :segment_duration_seconds,
  :segment_prefix,
  :stream_selection)
  include Aws::Structure
end

#hls_manifestsArray<Types::HlsManifest>

A list of HLS manifest configurations

Returns:



160
161
162
163
164
165
166
167
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 160

class CmafPackage < Struct.new(
  :encryption,
  :hls_manifests,
  :segment_duration_seconds,
  :segment_prefix,
  :stream_selection)
  include Aws::Structure
end

#segment_duration_secondsInteger

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

Returns:

  • (Integer)


160
161
162
163
164
165
166
167
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 160

class CmafPackage < Struct.new(
  :encryption,
  :hls_manifests,
  :segment_duration_seconds,
  :segment_prefix,
  :stream_selection)
  include Aws::Structure
end

#segment_prefixString

An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.

Returns:

  • (String)


160
161
162
163
164
165
166
167
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 160

class CmafPackage < Struct.new(
  :encryption,
  :hls_manifests,
  :segment_duration_seconds,
  :segment_prefix,
  :stream_selection)
  include Aws::Structure
end

#stream_selectionTypes::StreamSelection

A StreamSelection configuration.



160
161
162
163
164
165
166
167
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 160

class CmafPackage < Struct.new(
  :encryption,
  :hls_manifests,
  :segment_duration_seconds,
  :segment_prefix,
  :stream_selection)
  include Aws::Structure
end