Class: AWSCDK::MediaLive::CfnChannel::Scte27SourceSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::Scte27SourceSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Information about the SCTE-27 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
The PID field is used in conjunction with the captions selector languageCode field as follows: Specify PID and Language: Extracts captions from that PID;.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ocr_language: nil, pid: nil) ⇒ Scte27SourceSettingsProperty
constructor
A new instance of Scte27SourceSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ocr_language: nil, pid: nil) ⇒ Scte27SourceSettingsProperty
Returns a new instance of Scte27SourceSettingsProperty.
12921 12922 12923 12924 12925 12926 |
# File 'media_live/cfn_channel.rb', line 12921 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.
12932 12933 12934 |
# File 'media_live/cfn_channel.rb', line 12932 def ocr_language @ocr_language end |
#pid ⇒ Numeric? (readonly)
The PID field is used in conjunction with the captions selector languageCode field as follows: Specify PID and Language: Extracts captions from that PID;
the language is "informational." Specify PID and omit Language: Extracts the specified PID. Omit PID and specify Language: Extracts the specified language, whichever PID that happens to be. Omit PID and omit Language: Valid only if source is DVB-Sub that is being passed through; all languages are passed through.
12939 12940 12941 |
# File 'media_live/cfn_channel.rb', line 12939 def pid @pid end |
Class Method Details
.jsii_properties ⇒ Object
12941 12942 12943 12944 12945 12946 |
# File 'media_live/cfn_channel.rb', line 12941 def self.jsii_properties { :ocr_language => "ocrLanguage", :pid => "pid", } end |
Instance Method Details
#to_jsii ⇒ Object
12948 12949 12950 12951 12952 12953 12954 12955 |
# File 'media_live/cfn_channel.rb', line 12948 def to_jsii result = {} result.merge!({ "ocrLanguage" => @ocr_language, "pid" => @pid, }) result.compact end |