Class: Aws::MediaPackage::Types::DashPackage
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaPackage::Types::DashPackage
- Defined in:
- gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb
Overview
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, HYBRIDCAST, DVB_DASH_2014
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, HTTP-XSDATE
utc_timing_uri: "__string",
}
A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#ad_triggers ⇒ Array<String>
A list of SCTE-35 message types that are treated as ad markers in the output.
-
#ads_on_delivery_restrictions ⇒ String
This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad.
-
#encryption ⇒ Types::DashEncryption
A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
-
#manifest_layout ⇒ String
Determines the position of some tags in the Media Presentation Description (MPD).
-
#manifest_window_seconds ⇒ Integer
Time window (in seconds) contained in each manifest.
-
#min_buffer_time_seconds ⇒ Integer
Minimum duration (in seconds) that a player will buffer media before starting the presentation.
-
#min_update_period_seconds ⇒ Integer
Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD).
-
#period_triggers ⇒ 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.
-
#profile ⇒ String
The Dynamic Adaptive Streaming over HTTP (DASH) profile type.
-
#segment_duration_seconds ⇒ Integer
Duration (in seconds) of each segment.
-
#segment_template_format ⇒ String
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).
-
#stream_selection ⇒ Types::StreamSelection
A StreamSelection configuration.
-
#suggested_presentation_delay_seconds ⇒ Integer
Duration (in seconds) to delay live content before presentation.
-
#utc_timing ⇒ String
Determines the type of UTCTiming included in the Media Presentation Description (MPD).
-
#utc_timing_uri ⇒ String
Specifies the value attribute of the UTCTiming field when utcTiming is set to HTTP-ISO, HTTP-HEAD or HTTP-XSDATE.
Instance Attribute Details
#ad_triggers ⇒ Array<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.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#ads_on_delivery_restrictions ⇒ String
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.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#encryption ⇒ Types::DashEncryption
A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#manifest_layout ⇒ String
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.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#manifest_window_seconds ⇒ Integer
Time window (in seconds) contained in each manifest.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#min_buffer_time_seconds ⇒ Integer
Minimum duration (in seconds) that a player will buffer media before starting the presentation.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#min_update_period_seconds ⇒ Integer
Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD).
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#period_triggers ⇒ 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. 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.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#profile ⇒ String
The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled. When set to "DVB-DASH_2014", DVB-DASH 2014 compliant output is enabled.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#segment_duration_seconds ⇒ Integer
Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#segment_template_format ⇒ String
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.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#stream_selection ⇒ Types::StreamSelection
A StreamSelection configuration.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#suggested_presentation_delay_seconds ⇒ Integer
Duration (in seconds) to delay live content before presentation.
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#utc_timing ⇒ String
Determines the type of UTCTiming included in the Media Presentation Description (MPD)
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |
#utc_timing_uri ⇒ String
Specifies the value attribute of the UTCTiming field when utcTiming is set to HTTP-ISO, HTTP-HEAD or HTTP-XSDATE
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 1033 class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end |