Class: AWSCDK::MediaPackage::CfnPackagingConfiguration::DashManifestProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaPackage::CfnPackagingConfiguration::DashManifestProperty
- Defined in:
- media_package/cfn_packaging_configuration.rb
Overview
Parameters for a DASH manifest.
Instance Attribute Summary collapse
-
#manifest_layout ⇒ String?
readonly
Determines the position of some tags in the Media Presentation Description (MPD).
-
#manifest_name ⇒ String?
readonly
A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration.
-
#min_buffer_time_seconds ⇒ Numeric?
readonly
Minimum amount of content (measured in seconds) that a player must keep available in the buffer.
-
#profile ⇒ String?
readonly
The DASH profile type.
-
#scte_markers_source ⇒ String?
readonly
The source of scte markers used.
-
#stream_selection ⇒ AWSCDK::IResolvable, ...
readonly
Limitations for outputs from the endpoint, based on the video bitrate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(manifest_layout: nil, manifest_name: nil, min_buffer_time_seconds: nil, profile: nil, scte_markers_source: nil, stream_selection: nil) ⇒ DashManifestProperty
constructor
A new instance of DashManifestProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(manifest_layout: nil, manifest_name: nil, min_buffer_time_seconds: nil, profile: nil, scte_markers_source: nil, stream_selection: nil) ⇒ DashManifestProperty
Returns a new instance of DashManifestProperty.
741 742 743 744 745 746 747 748 749 750 751 752 753 754 |
# File 'media_package/cfn_packaging_configuration.rb', line 741 def initialize(manifest_layout: nil, manifest_name: nil, min_buffer_time_seconds: nil, profile: nil, scte_markers_source: nil, stream_selection: nil) @manifest_layout = manifest_layout Jsii::Type.check_type(@manifest_layout, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "manifestLayout") unless @manifest_layout.nil? @manifest_name = manifest_name Jsii::Type.check_type(@manifest_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "manifestName") unless @manifest_name.nil? @min_buffer_time_seconds = min_buffer_time_seconds Jsii::Type.check_type(@min_buffer_time_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minBufferTimeSeconds") unless @min_buffer_time_seconds.nil? @profile = profile Jsii::Type.check_type(@profile, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "profile") unless @profile.nil? @scte_markers_source = scte_markers_source Jsii::Type.check_type(@scte_markers_source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scteMarkersSource") unless @scte_markers_source.nil? @stream_selection = stream_selection.is_a?(Hash) ? ::AWSCDK::MediaPackage::CfnPackagingConfiguration::StreamSelectionProperty.new(**stream_selection.transform_keys(&:to_sym)) : stream_selection Jsii::Type.check_type(@stream_selection, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYXBhY2thZ2UuQ2ZuUGFja2FnaW5nQ29uZmlndXJhdGlvbi5TdHJlYW1TZWxlY3Rpb25Qcm9wZXJ0eSJ9XX19")), "streamSelection") unless @stream_selection.nil? end |
Instance Attribute Details
#manifest_layout ⇒ String? (readonly)
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.
762 763 764 |
# File 'media_package/cfn_packaging_configuration.rb', line 762 def manifest_layout @manifest_layout end |
#manifest_name ⇒ String? (readonly)
A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration.
767 768 769 |
# File 'media_package/cfn_packaging_configuration.rb', line 767 def manifest_name @manifest_name end |
#min_buffer_time_seconds ⇒ Numeric? (readonly)
Minimum amount of content (measured in seconds) that a player must keep available in the buffer.
772 773 774 |
# File 'media_package/cfn_packaging_configuration.rb', line 772 def min_buffer_time_seconds @min_buffer_time_seconds end |
#profile ⇒ String? (readonly)
The DASH profile type.
When set to HBBTV_1_5 , the content is compliant with HbbTV 1.5.
779 780 781 |
# File 'media_package/cfn_packaging_configuration.rb', line 779 def profile @profile end |
#scte_markers_source ⇒ String? (readonly)
The source of scte markers used.
Value description:
SEGMENTS- The scte markers are sourced from the segments of the ingested content.MANIFEST- the scte markers are sourced from the manifest of the ingested content. The MANIFEST value is compatible with source HLS playlists using the SCTE-35 Enhanced syntax (EXT-OATCLS-SCTE35tags). SCTE-35 Elemental and SCTE-35 Daterange syntaxes are not supported with this option.
789 790 791 |
# File 'media_package/cfn_packaging_configuration.rb', line 789 def scte_markers_source @scte_markers_source end |
#stream_selection ⇒ AWSCDK::IResolvable, ... (readonly)
Limitations for outputs from the endpoint, based on the video bitrate.
794 795 796 |
# File 'media_package/cfn_packaging_configuration.rb', line 794 def stream_selection @stream_selection end |
Class Method Details
.jsii_properties ⇒ Object
796 797 798 799 800 801 802 803 804 805 |
# File 'media_package/cfn_packaging_configuration.rb', line 796 def self.jsii_properties { :manifest_layout => "manifestLayout", :manifest_name => "manifestName", :min_buffer_time_seconds => "minBufferTimeSeconds", :profile => "profile", :scte_markers_source => "scteMarkersSource", :stream_selection => "streamSelection", } end |
Instance Method Details
#to_jsii ⇒ Object
807 808 809 810 811 812 813 814 815 816 817 818 |
# File 'media_package/cfn_packaging_configuration.rb', line 807 def to_jsii result = {} result.merge!({ "manifestLayout" => @manifest_layout, "manifestName" => @manifest_name, "minBufferTimeSeconds" => @min_buffer_time_seconds, "profile" => @profile, "scteMarkersSource" => @scte_markers_source, "streamSelection" => @stream_selection, }) result.compact end |