Class: AWSCDK::MediaLive::CfnChannel::DvbSubSourceSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::DvbSubSourceSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Information about the DVB Sub captions to extract from the input.
The parent of this entity is CaptionSelectorSettings.
Instance Attribute Summary collapse
-
#ocr_language ⇒ String?
readonly
If you will configure a WebVTT caption description that references this caption selector, use this field to provide the language to consider when translating the image-based source to text.
-
#pid ⇒ Numeric?
readonly
When using DVB-Sub with burn-in or SMPTE-TT, use this PID for the source content.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ocr_language: nil, pid: nil) ⇒ DvbSubSourceSettingsProperty
constructor
A new instance of DvbSubSourceSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ocr_language: nil, pid: nil) ⇒ DvbSubSourceSettingsProperty
Returns a new instance of DvbSubSourceSettingsProperty.
4619 4620 4621 4622 4623 4624 |
# File 'media_live/cfn_channel.rb', line 4619 def initialize(ocr_language: nil, pid: nil) @ocr_language = ocr_language Jsii::Type.check_type(@ocr_language, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ocrLanguage") unless @ocr_language.nil? @pid = pid Jsii::Type.check_type(@pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "pid") unless @pid.nil? end |
Instance Attribute Details
#ocr_language ⇒ String? (readonly)
If you will configure a WebVTT caption description that references this caption selector, use this field to provide the language to consider when translating the image-based source to text.
4630 4631 4632 |
# File 'media_live/cfn_channel.rb', line 4630 def ocr_language @ocr_language end |
#pid ⇒ Numeric? (readonly)
When using DVB-Sub with burn-in or SMPTE-TT, use this PID for the source content.
It is unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.
4637 4638 4639 |
# File 'media_live/cfn_channel.rb', line 4637 def pid @pid end |
Class Method Details
.jsii_properties ⇒ Object
4639 4640 4641 4642 4643 4644 |
# File 'media_live/cfn_channel.rb', line 4639 def self.jsii_properties { :ocr_language => "ocrLanguage", :pid => "pid", } end |
Instance Method Details
#to_jsii ⇒ Object
4646 4647 4648 4649 4650 4651 4652 4653 |
# File 'media_live/cfn_channel.rb', line 4646 def to_jsii result = {} result.merge!({ "ocrLanguage" => @ocr_language, "pid" => @pid, }) result.compact end |