Class: AWSCDK::MediaLive::CfnChannel::Scte20SourceSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::Scte20SourceSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Information about the SCTE-20 captions to extract from the input.
The parent of this entity is CaptionSelectorSettings.
Instance Attribute Summary collapse
-
#convert608_to708 ⇒ String?
readonly
If upconvert, 608 data is both passed through the "608 compatibility bytes" fields of the 708 wrapper as well as translated into 708.
-
#source608_channel_number ⇒ Numeric?
readonly
Specifies the 608/708 channel number within the video track from which to extract captions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(convert608_to708: nil, source608_channel_number: nil) ⇒ Scte20SourceSettingsProperty
constructor
A new instance of Scte20SourceSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(convert608_to708: nil, source608_channel_number: nil) ⇒ Scte20SourceSettingsProperty
Returns a new instance of Scte20SourceSettingsProperty.
12853 12854 12855 12856 12857 12858 |
# File 'media_live/cfn_channel.rb', line 12853 def initialize(convert608_to708: nil, source608_channel_number: nil) @convert608_to708 = convert608_to708 Jsii::Type.check_type(@convert608_to708, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "convert608To708") unless @convert608_to708.nil? @source608_channel_number = source608_channel_number Jsii::Type.check_type(@source608_channel_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "source608ChannelNumber") unless @source608_channel_number.nil? end |
Instance Attribute Details
#convert608_to708 ⇒ String? (readonly)
If upconvert, 608 data is both passed through the "608 compatibility bytes" fields of the 708 wrapper as well as translated into 708.
Any 708 data present in the source content is discarded.
12866 12867 12868 |
# File 'media_live/cfn_channel.rb', line 12866 def convert608_to708 @convert608_to708 end |
#source608_channel_number ⇒ Numeric? (readonly)
Specifies the 608/708 channel number within the video track from which to extract captions.
12871 12872 12873 |
# File 'media_live/cfn_channel.rb', line 12871 def source608_channel_number @source608_channel_number end |
Class Method Details
.jsii_properties ⇒ Object
12873 12874 12875 12876 12877 12878 |
# File 'media_live/cfn_channel.rb', line 12873 def self.jsii_properties { :convert608_to708 => "convert608To708", :source608_channel_number => "source608ChannelNumber", } end |
Instance Method Details
#to_jsii ⇒ Object
12880 12881 12882 12883 12884 12885 12886 12887 |
# File 'media_live/cfn_channel.rb', line 12880 def to_jsii result = {} result.merge!({ "convert608To708" => @convert608_to708, "source608ChannelNumber" => @source608_channel_number, }) result.compact end |