AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Overview

Note:

When making an API call, you may pass DashPackage data as a 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
    },
  },
  include_encoder_configuration_in_segments: false,
  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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dash_manifestsArray<Types::DashManifest>

A list of DASH manifest configurations.

Returns:



902
903
904
905
906
907
908
909
910
911
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 902

class DashPackage < Struct.new(
  :dash_manifests,
  :encryption,
  :include_encoder_configuration_in_segments,
  :period_triggers,
  :segment_duration_seconds,
  :segment_template_format)
  SENSITIVE = []
  include Aws::Structure
end

#encryptionTypes::DashEncryption

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



902
903
904
905
906
907
908
909
910
911
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 902

class DashPackage < Struct.new(
  :dash_manifests,
  :encryption,
  :include_encoder_configuration_in_segments,
  :period_triggers,
  :segment_duration_seconds,
  :segment_template_format)
  SENSITIVE = []
  include Aws::Structure
end

#include_encoder_configuration_in_segmentsBoolean

When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.

Returns:

  • (Boolean)


902
903
904
905
906
907
908
909
910
911
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 902

class DashPackage < Struct.new(
  :dash_manifests,
  :encryption,
  :include_encoder_configuration_in_segments,
  :period_triggers,
  :segment_duration_seconds,
  :segment_template_format)
  SENSITIVE = []
  include Aws::Structure
end

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


902
903
904
905
906
907
908
909
910
911
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 902

class DashPackage < Struct.new(
  :dash_manifests,
  :encryption,
  :include_encoder_configuration_in_segments,
  :period_triggers,
  :segment_duration_seconds,
  :segment_template_format)
  SENSITIVE = []
  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)


902
903
904
905
906
907
908
909
910
911
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 902

class DashPackage < Struct.new(
  :dash_manifests,
  :encryption,
  :include_encoder_configuration_in_segments,
  :period_triggers,
  :segment_duration_seconds,
  :segment_template_format)
  SENSITIVE = []
  include Aws::Structure
end

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

Returns:

  • (String)


902
903
904
905
906
907
908
909
910
911
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/types.rb', line 902

class DashPackage < Struct.new(
  :dash_manifests,
  :encryption,
  :include_encoder_configuration_in_segments,
  :period_triggers,
  :segment_duration_seconds,
  :segment_template_format)
  SENSITIVE = []
  include Aws::Structure
end