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

Class: Aws::MediaPackage::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:

{
  ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
  ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
  encryption: {
    key_rotation_interval_seconds: 1,
    speke_key_provider: { # required
      certificate_arn: "__string",
      resource_id: "__string", # required
      role_arn: "__string", # required
      system_ids: ["__string"], # required
      url: "__string", # required
    },
  },
  manifest_layout: "FULL", # accepts FULL, COMPACT
  manifest_window_seconds: 1,
  min_buffer_time_seconds: 1,
  min_update_period_seconds: 1,
  period_triggers: ["ADS"], # accepts ADS
  profile: "NONE", # accepts NONE, HBBTV_1_5
  segment_duration_seconds: 1,
  segment_template_format: "NUMBER_WITH_TIMELINE", # accepts NUMBER_WITH_TIMELINE, TIME_WITH_TIMELINE, NUMBER_WITH_DURATION
  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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#ad_triggersArray<String>

A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types.

Returns:

  • (Array<String>)

    A list of SCTE-35 message types that are treated as ad markers in the output.

#ads_on_delivery_restrictionsString

This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing "RESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that contain delivery restrictions will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that do not contain delivery restrictions will be treated as ads. Choosing "BOTH" means all SCTE-35 messages of the types specified in AdTriggers will be treated as ads. Note that Splice Insert messages do not have these flags and are always treated as ads if specified in AdTriggers.

Possible values:

  • NONE
  • RESTRICTED
  • UNRESTRICTED
  • BOTH

Returns:

  • (String)

    This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad.

#encryptionTypes::DashEncryption

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

Returns:

#manifest_layoutString

Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level.

Possible values:

  • FULL
  • COMPACT

Returns:

  • (String)

    Determines the position of some tags in the Media Presentation Description (MPD).

#manifest_window_secondsInteger

Time window (in seconds) contained in each manifest.

Returns:

  • (Integer)

    Time window (in seconds) contained in each manifest.

#min_buffer_time_secondsInteger

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

Returns:

  • (Integer)

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

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

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

#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 Channel source 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.

#profileString

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

Possible values:

  • NONE
  • HBBTV_1_5

Returns:

  • (String)

    The Dynamic Adaptive Streaming over HTTP (DASH) profile type.

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

#stream_selectionTypes::StreamSelection

A StreamSelection configuration.

Returns:

#suggested_presentation_delay_secondsInteger

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

Returns:

  • (Integer)

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