class Aws::MediaPackage::Types::DashPackage

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

@note When making an API call, you may pass DashPackage

data as a 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",
          encryption_contract_configuration: {
            preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
            preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
          },
          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,
      utc_timing: "NONE", # accepts NONE, HTTP-HEAD, HTTP-ISO
      utc_timing_uri: "__string",
    }

@!attribute [rw] ad_triggers

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.
@return [Array<String>]

@!attribute [rw] ads_on_delivery_restrictions

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.
@return [String]

@!attribute [rw] encryption

A Dynamic Adaptive Streaming over HTTP (DASH) encryption
configuration.
@return [Types::DashEncryption]

@!attribute [rw] manifest_layout

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.
@return [String]

@!attribute [rw] manifest_window_seconds

Time window (in seconds) contained in each manifest.
@return [Integer]

@!attribute [rw] min_buffer_time_seconds

Minimum duration (in seconds) that a player will buffer media before
starting the presentation.
@return [Integer]

@!attribute [rw] min_update_period_seconds

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

@!attribute [rw] period_triggers

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.
@return [Array<String>]

@!attribute [rw] profile

The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When
set to "HBBTV\_1\_5", HbbTV 1.5 compliant output is enabled.
@return [String]

@!attribute [rw] segment_duration_seconds

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

@!attribute [rw] segment_template_format

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.
@return [String]

@!attribute [rw] stream_selection

A StreamSelection configuration.
@return [Types::StreamSelection]

@!attribute [rw] suggested_presentation_delay_seconds

Duration (in seconds) to delay live content before presentation.
@return [Integer]

@!attribute [rw] utc_timing

Determines the type of UTCTiming included in the Media Presentation
Description (MPD)
@return [String]

@!attribute [rw] utc_timing_uri

Specifies the value attribute of the UTCTiming field when utcTiming
is set to HTTP-ISO or HTTP-HEAD
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashPackage AWS API Documentation

Constants

SENSITIVE