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

Class: Aws::MediaPackageVod::Types::DashPackage

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

Overview

Note:

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

{
  dash_manifests: [ # required
    {
      manifest_layout: "FULL", # accepts FULL, COMPACT
      manifest_name: "__string",
      min_buffer_time_seconds: 1,
      profile: "NONE", # accepts NONE, HBBTV_1_5
      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
      },
    },
  ],
  encryption: {
    speke_key_provider: { # required
      role_arn: "__string", # required
      system_ids: ["__string"], # required
      url: "__string", # required
    },
  },
  period_triggers: ["ADS"], # accepts ADS
  segment_duration_seconds: 1,
  segment_template_format: "NUMBER_WITH_TIMELINE", # accepts NUMBER_WITH_TIMELINE, TIME_WITH_TIMELINE, NUMBER_WITH_DURATION
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#dash_manifestsArray<Types::DashManifest>

A list of DASH manifest configurations.

Returns:

#encryptionTypes::DashEncryption

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

Returns:

#period_triggersArray<String>

A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains \"ADS\", new periods will be created where the Asset contains SCTE-35 ad markers.

Returns:

  • (Array<String>)

    A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods.

#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)

    Duration (in seconds) of each segment.

#segment_template_formatString

Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.

Possible values:

  • NUMBER_WITH_TIMELINE
  • TIME_WITH_TIMELINE
  • NUMBER_WITH_DURATION

Returns:

  • (String)

    Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).