Class: AWSCDK::MediaLive::CfnChannel::TimecodeConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::TimecodeConfigProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The configuration of the timecode in the output.
The parent of this entity is EncoderSettings.
Instance Attribute Summary collapse
-
#source ⇒ String?
readonly
Identifies the source for the timecode that will be associated with the channel outputs.
-
#sync_threshold ⇒ Numeric?
readonly
The threshold in frames beyond which output timecode is resynchronized to the input timecode.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source: nil, sync_threshold: nil) ⇒ TimecodeConfigProperty
constructor
A new instance of TimecodeConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source: nil, sync_threshold: nil) ⇒ TimecodeConfigProperty
Returns a new instance of TimecodeConfigProperty.
13574 13575 13576 13577 13578 13579 |
# File 'media_live/cfn_channel.rb', line 13574 def initialize(source: nil, sync_threshold: nil) @source = source Jsii::Type.check_type(@source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "source") unless @source.nil? @sync_threshold = sync_threshold Jsii::Type.check_type(@sync_threshold, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "syncThreshold") unless @sync_threshold.nil? end |
Instance Attribute Details
#source ⇒ String? (readonly)
Identifies the source for the timecode that will be associated with the channel outputs.
Embedded (embedded): Initialize the output timecode with timecode from the source. If no embedded timecode is detected in the source, the system falls back to using "Start at 0" (zerobased). System Clock (systemclock): Use the UTC time. Start at 0 (zerobased): The time of the first frame of the channel will be 00:00:00:00.
13587 13588 13589 |
# File 'media_live/cfn_channel.rb', line 13587 def source @source end |
#sync_threshold ⇒ Numeric? (readonly)
The threshold in frames beyond which output timecode is resynchronized to the input timecode.
Discrepancies below this threshold are permitted to avoid unnecessary discontinuities in the output timecode. There is no timecode sync when this is not specified.
13594 13595 13596 |
# File 'media_live/cfn_channel.rb', line 13594 def sync_threshold @sync_threshold end |
Class Method Details
.jsii_properties ⇒ Object
13596 13597 13598 13599 13600 13601 |
# File 'media_live/cfn_channel.rb', line 13596 def self.jsii_properties { :source => "source", :sync_threshold => "syncThreshold", } end |
Instance Method Details
#to_jsii ⇒ Object
13603 13604 13605 13606 13607 13608 13609 13610 |
# File 'media_live/cfn_channel.rb', line 13603 def to_jsii result = {} result.merge!({ "source" => @source, "syncThreshold" => @sync_threshold, }) result.compact end |