Class: AWSCDK::MediaLive::CfnChannel::FecOutputSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::FecOutputSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The settings for FEC.
The parent of this entity is UdpOutputSettings.
Instance Attribute Summary collapse
-
#column_depth ⇒ Numeric?
readonly
The parameter D from SMPTE 2022-1.
-
#include_fec ⇒ String?
readonly
Enables column only or column and row-based FEC.
-
#row_length ⇒ Numeric?
readonly
The parameter L from SMPTE 2022-1.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_depth: nil, include_fec: nil, row_length: nil) ⇒ FecOutputSettingsProperty
constructor
A new instance of FecOutputSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_depth: nil, include_fec: nil, row_length: nil) ⇒ FecOutputSettingsProperty
Returns a new instance of FecOutputSettingsProperty.
5639 5640 5641 5642 5643 5644 5645 5646 |
# File 'media_live/cfn_channel.rb', line 5639 def initialize(column_depth: nil, include_fec: nil, row_length: nil) @column_depth = column_depth Jsii::Type.check_type(@column_depth, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "columnDepth") unless @column_depth.nil? @include_fec = include_fec Jsii::Type.check_type(@include_fec, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "includeFec") unless @include_fec.nil? @row_length = row_length Jsii::Type.check_type(@row_length, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "rowLength") unless @row_length.nil? end |
Instance Attribute Details
#column_depth ⇒ Numeric? (readonly)
The parameter D from SMPTE 2022-1.
The height of the FEC protection matrix. The number of transport stream packets per column error correction packet. The number must be between 4 and 20, inclusive.
5654 5655 5656 |
# File 'media_live/cfn_channel.rb', line 5654 def column_depth @column_depth end |
#include_fec ⇒ String? (readonly)
Enables column only or column and row-based FEC.
5659 5660 5661 |
# File 'media_live/cfn_channel.rb', line 5659 def include_fec @include_fec end |
#row_length ⇒ Numeric? (readonly)
The parameter L from SMPTE 2022-1.
The width of the FEC protection matrix. Must be between 1 and 20, inclusive. If only Column FEC is used, then larger values increase robustness. If Row FEC is used, then this is the number of transport stream packets per row error correction packet, and the value must be between 4 and 20, inclusive, if includeFec is columnAndRow. If includeFec is column, this value must be 1 to 20, inclusive.
5666 5667 5668 |
# File 'media_live/cfn_channel.rb', line 5666 def row_length @row_length end |
Class Method Details
.jsii_properties ⇒ Object
5668 5669 5670 5671 5672 5673 5674 |
# File 'media_live/cfn_channel.rb', line 5668 def self.jsii_properties { :column_depth => "columnDepth", :include_fec => "includeFec", :row_length => "rowLength", } end |
Instance Method Details
#to_jsii ⇒ Object
5676 5677 5678 5679 5680 5681 5682 5683 5684 |
# File 'media_live/cfn_channel.rb', line 5676 def to_jsii result = {} result.merge!({ "columnDepth" => @column_depth, "includeFec" => @include_fec, "rowLength" => @row_length, }) result.compact end |