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

Class: Aws::MediaPackage::Types::DashPackage

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

Overview

Note:

When making an API call, you may pass DashPackage data as a hash:

{
  encryption: {
    key_rotation_interval_seconds: 1,
    speke_key_provider: { # required
      resource_id: "__string", # required
      role_arn: "__string", # required
      system_ids: ["__string"], # required
      url: "__string", # required
    },
  },
  manifest_window_seconds: 1,
  min_buffer_time_seconds: 1,
  min_update_period_seconds: 1,
  profile: "NONE", # accepts NONE, HBBTV_1_5
  segment_duration_seconds: 1,
  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
  },
  suggested_presentation_delay_seconds: 1,
}

A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#encryptionTypes::DashEncryption

A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.



423
424
425
426
427
428
429
430
431
432
433
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 423

class DashPackage < Struct.new(
  :encryption,
  :manifest_window_seconds,
  :min_buffer_time_seconds,
  :min_update_period_seconds,
  :profile,
  :segment_duration_seconds,
  :stream_selection,
  :suggested_presentation_delay_seconds)
  include Aws::Structure
end

#manifest_window_secondsInteger

Time window (in seconds) contained in each manifest.

Returns:

  • (Integer)


423
424
425
426
427
428
429
430
431
432
433
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 423

class DashPackage < Struct.new(
  :encryption,
  :manifest_window_seconds,
  :min_buffer_time_seconds,
  :min_update_period_seconds,
  :profile,
  :segment_duration_seconds,
  :stream_selection,
  :suggested_presentation_delay_seconds)
  include Aws::Structure
end

#min_buffer_time_secondsInteger

Minimum duration (in seconds) that a player will buffer media before starting the presentation.

Returns:

  • (Integer)


423
424
425
426
427
428
429
430
431
432
433
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 423

class DashPackage < Struct.new(
  :encryption,
  :manifest_window_seconds,
  :min_buffer_time_seconds,
  :min_update_period_seconds,
  :profile,
  :segment_duration_seconds,
  :stream_selection,
  :suggested_presentation_delay_seconds)
  include Aws::Structure
end

#min_update_period_secondsInteger

Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD).

Returns:

  • (Integer)


423
424
425
426
427
428
429
430
431
432
433
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 423

class DashPackage < Struct.new(
  :encryption,
  :manifest_window_seconds,
  :min_buffer_time_seconds,
  :min_update_period_seconds,
  :profile,
  :segment_duration_seconds,
  :stream_selection,
  :suggested_presentation_delay_seconds)
  include Aws::Structure
end

#profileString

The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.

Returns:

  • (String)


423
424
425
426
427
428
429
430
431
432
433
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 423

class DashPackage < Struct.new(
  :encryption,
  :manifest_window_seconds,
  :min_buffer_time_seconds,
  :min_update_period_seconds,
  :profile,
  :segment_duration_seconds,
  :stream_selection,
  :suggested_presentation_delay_seconds)
  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)


423
424
425
426
427
428
429
430
431
432
433
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 423

class DashPackage < Struct.new(
  :encryption,
  :manifest_window_seconds,
  :min_buffer_time_seconds,
  :min_update_period_seconds,
  :profile,
  :segment_duration_seconds,
  :stream_selection,
  :suggested_presentation_delay_seconds)
  include Aws::Structure
end

#stream_selectionTypes::StreamSelection

A StreamSelection configuration.



423
424
425
426
427
428
429
430
431
432
433
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 423

class DashPackage < Struct.new(
  :encryption,
  :manifest_window_seconds,
  :min_buffer_time_seconds,
  :min_update_period_seconds,
  :profile,
  :segment_duration_seconds,
  :stream_selection,
  :suggested_presentation_delay_seconds)
  include Aws::Structure
end

#suggested_presentation_delay_secondsInteger

Duration (in seconds) to delay live content before presentation.

Returns:

  • (Integer)


423
424
425
426
427
428
429
430
431
432
433
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 423

class DashPackage < Struct.new(
  :encryption,
  :manifest_window_seconds,
  :min_buffer_time_seconds,
  :min_update_period_seconds,
  :profile,
  :segment_duration_seconds,
  :stream_selection,
  :suggested_presentation_delay_seconds)
  include Aws::Structure
end