Class: AWSCDK::MediaTailor::CfnChannel::DashPlaylistSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnChannel::DashPlaylistSettingsProperty
- Defined in:
- media_tailor/cfn_channel.rb
Overview
Dash manifest configuration parameters.
Instance Attribute Summary collapse
-
#manifest_window_seconds ⇒ Numeric?
readonly
The total duration (in seconds) of each manifest.
-
#min_buffer_time_seconds ⇒ Numeric?
readonly
Minimum amount of content (measured in seconds) that a player must keep available in the buffer.
-
#min_update_period_seconds ⇒ Numeric?
readonly
Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
-
#suggested_presentation_delay_seconds ⇒ Numeric?
readonly
Amount of time (in seconds) that the player should be from the live point at the end of the manifest.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(manifest_window_seconds: nil, min_buffer_time_seconds: nil, min_update_period_seconds: nil, suggested_presentation_delay_seconds: nil) ⇒ DashPlaylistSettingsProperty
constructor
A new instance of DashPlaylistSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(manifest_window_seconds: nil, min_buffer_time_seconds: nil, min_update_period_seconds: nil, suggested_presentation_delay_seconds: nil) ⇒ DashPlaylistSettingsProperty
Returns a new instance of DashPlaylistSettingsProperty.
655 656 657 658 659 660 661 662 663 664 |
# File 'media_tailor/cfn_channel.rb', line 655 def initialize(manifest_window_seconds: nil, min_buffer_time_seconds: nil, min_update_period_seconds: nil, suggested_presentation_delay_seconds: nil) @manifest_window_seconds = manifest_window_seconds Jsii::Type.check_type(@manifest_window_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "manifestWindowSeconds") unless @manifest_window_seconds.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? @min_update_period_seconds = min_update_period_seconds Jsii::Type.check_type(@min_update_period_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minUpdatePeriodSeconds") unless @min_update_period_seconds.nil? @suggested_presentation_delay_seconds = suggested_presentation_delay_seconds Jsii::Type.check_type(@suggested_presentation_delay_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "suggestedPresentationDelaySeconds") unless @suggested_presentation_delay_seconds.nil? end |
Instance Attribute Details
#manifest_window_seconds ⇒ Numeric? (readonly)
The total duration (in seconds) of each manifest.
Minimum value: 30 seconds. Maximum value: 3600 seconds.
672 673 674 |
# File 'media_tailor/cfn_channel.rb', line 672 def manifest_window_seconds @manifest_window_seconds end |
#min_buffer_time_seconds ⇒ Numeric? (readonly)
Minimum amount of content (measured in seconds) that a player must keep available in the buffer.
Minimum value: 2 seconds. Maximum value: 60 seconds.
679 680 681 |
# File 'media_tailor/cfn_channel.rb', line 679 def min_buffer_time_seconds @min_buffer_time_seconds end |
#min_update_period_seconds ⇒ Numeric? (readonly)
Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
Minimum value: 2 seconds. Maximum value: 60 seconds.
686 687 688 |
# File 'media_tailor/cfn_channel.rb', line 686 def min_update_period_seconds @min_update_period_seconds end |
#suggested_presentation_delay_seconds ⇒ Numeric? (readonly)
Amount of time (in seconds) that the player should be from the live point at the end of the manifest.
Minimum value: 2 seconds. Maximum value: 60 seconds.
693 694 695 |
# File 'media_tailor/cfn_channel.rb', line 693 def suggested_presentation_delay_seconds @suggested_presentation_delay_seconds end |
Class Method Details
.jsii_properties ⇒ Object
695 696 697 698 699 700 701 702 |
# File 'media_tailor/cfn_channel.rb', line 695 def self.jsii_properties { :manifest_window_seconds => "manifestWindowSeconds", :min_buffer_time_seconds => "minBufferTimeSeconds", :min_update_period_seconds => "minUpdatePeriodSeconds", :suggested_presentation_delay_seconds => "suggestedPresentationDelaySeconds", } end |
Instance Method Details
#to_jsii ⇒ Object
704 705 706 707 708 709 710 711 712 713 |
# File 'media_tailor/cfn_channel.rb', line 704 def to_jsii result = {} result.merge!({ "manifestWindowSeconds" => @manifest_window_seconds, "minBufferTimeSeconds" => @min_buffer_time_seconds, "minUpdatePeriodSeconds" => @min_update_period_seconds, "suggestedPresentationDelaySeconds" => @suggested_presentation_delay_seconds, }) result.compact end |