Class: AWSCDK::MediaLive::CfnChannel::UDPGroupSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::UDPGroupSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The configuration of a UDP output group.
The parent of this entity is OutputGroupSettings.
Instance Attribute Summary collapse
-
#input_loss_action ⇒ String?
readonly
Specifies the behavior of the last resort when the input video is lost, and no more backup inputs are available.
-
#timed_metadata_id3_frame ⇒ String?
readonly
Indicates the ID3 frame that has the timecode.
-
#timed_metadata_id3_period ⇒ Numeric?
readonly
The timed metadata interval in seconds.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_loss_action: nil, timed_metadata_id3_frame: nil, timed_metadata_id3_period: nil) ⇒ UDPGroupSettingsProperty
constructor
A new instance of UDPGroupSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_loss_action: nil, timed_metadata_id3_frame: nil, timed_metadata_id3_period: nil) ⇒ UDPGroupSettingsProperty
Returns a new instance of UDPGroupSettingsProperty.
13694 13695 13696 13697 13698 13699 13700 13701 |
# File 'media_live/cfn_channel.rb', line 13694 def initialize(input_loss_action: nil, timed_metadata_id3_frame: nil, timed_metadata_id3_period: nil) @input_loss_action = input_loss_action Jsii::Type.check_type(@input_loss_action, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputLossAction") unless @input_loss_action.nil? @timed_metadata_id3_frame = Jsii::Type.check_type(@timed_metadata_id3_frame, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timedMetadataId3Frame") unless @timed_metadata_id3_frame.nil? @timed_metadata_id3_period = Jsii::Type.check_type(@timed_metadata_id3_period, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "timedMetadataId3Period") unless @timed_metadata_id3_period.nil? end |
Instance Attribute Details
#input_loss_action ⇒ String? (readonly)
Specifies the behavior of the last resort when the input video is lost, and no more backup inputs are available.
When dropTs is selected, the entire transport stream stops emitting. When dropProgram is selected, the program can be dropped from the transport stream (and replaced with null packets to meet the TS bitrate requirement). Or when emitProgram is selected, the transport stream continues to be produced normally with repeat frames, black frames, or slate frames substituted for the absent input video.
13709 13710 13711 |
# File 'media_live/cfn_channel.rb', line 13709 def input_loss_action @input_loss_action end |
#timed_metadata_id3_frame ⇒ String? (readonly)
Indicates the ID3 frame that has the timecode.
13714 13715 13716 |
# File 'media_live/cfn_channel.rb', line 13714 def @timed_metadata_id3_frame end |
#timed_metadata_id3_period ⇒ Numeric? (readonly)
The timed metadata interval in seconds.
13719 13720 13721 |
# File 'media_live/cfn_channel.rb', line 13719 def @timed_metadata_id3_period end |
Class Method Details
.jsii_properties ⇒ Object
13721 13722 13723 13724 13725 13726 13727 |
# File 'media_live/cfn_channel.rb', line 13721 def self.jsii_properties { :input_loss_action => "inputLossAction", :timed_metadata_id3_frame => "timedMetadataId3Frame", :timed_metadata_id3_period => "timedMetadataId3Period", } end |
Instance Method Details
#to_jsii ⇒ Object
13729 13730 13731 13732 13733 13734 13735 13736 13737 |
# File 'media_live/cfn_channel.rb', line 13729 def to_jsii result = {} result.merge!({ "inputLossAction" => @input_loss_action, "timedMetadataId3Frame" => @timed_metadata_id3_frame, "timedMetadataId3Period" => @timed_metadata_id3_period, }) result.compact end |