Class: AWSCDK::MediaLive::CfnChannel::M2tsSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::M2tsSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The configuration of the M2TS in the output.
The parents of this entity are ArchiveContainerSettings and UdpContainerSettings.
Instance Attribute Summary collapse
-
#absent_input_audio_behavior ⇒ String?
readonly
When set to drop, the output audio streams are removed from the program if the selected input audio stream is removed from the input.
-
#arib ⇒ String?
readonly
When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.
-
#arib_captions_pid ⇒ String?
readonly
The PID for ARIB Captions in the transport stream.
-
#arib_captions_pid_control ⇒ String?
readonly
If set to auto, The PID number used for ARIB Captions will be auto-selected from unused PIDs.
-
#audio_buffer_model ⇒ String?
readonly
When set to dvb, uses the DVB buffer model for Dolby Digital audio.
-
#audio_frames_per_pes ⇒ Numeric?
readonly
The number of audio frames to insert for each PES packet.
-
#audio_pids ⇒ String?
readonly
The PID of the elementary audio streams in the transport stream.
-
#audio_stream_type ⇒ String?
readonly
When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3.
-
#bitrate ⇒ Numeric?
readonly
The output bitrate of the transport stream in bits per second.
-
#buffer_model ⇒ String?
readonly
If set to multiplex, uses the multiplex buffer model for accurate interleaving.
-
#cc_descriptor ⇒ String?
readonly
When set to enabled, generates captionServiceDescriptor in PMT.
-
#dvb_nit_settings ⇒ AWSCDK::IResolvable, ...
readonly
Inserts a DVB Network Information Table (NIT) at the specified table repetition interval.
-
#dvb_sdt_settings ⇒ AWSCDK::IResolvable, ...
readonly
Inserts a DVB Service Description Table (SDT) at the specified table repetition interval.
-
#dvb_sub_pids ⇒ String?
readonly
The PID for the input source DVB Subtitle data to this output.
-
#dvb_tdt_settings ⇒ AWSCDK::IResolvable, ...
readonly
Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.
-
#dvb_teletext_pid ⇒ String?
readonly
The PID for the input source DVB Teletext data to this output.
-
#ebif ⇒ String?
readonly
If set to passthrough, passes any EBIF data from the input source to this output.
-
#ebp_audio_interval ⇒ String?
readonly
When videoAndFixedIntervals is selected, audio EBP markers are added to partitions 3 and 4.
-
#ebp_lookahead_ms ⇒ Numeric?
readonly
When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video.
-
#ebp_placement ⇒ String?
readonly
Controls placement of EBP on audio PIDs.
-
#ecm_pid ⇒ String?
readonly
This field is unused and deprecated.
-
#es_rate_in_pes ⇒ String?
readonly
Includes or excludes the ES Rate field in the PES header.
-
#etv_platform_pid ⇒ String?
readonly
The PID for the input source ETV Platform data to this output.
-
#etv_signal_pid ⇒ String?
readonly
The PID for input source ETV Signal data to this output.
-
#fragment_time ⇒ Numeric?
readonly
The length in seconds of each fragment.
-
#klv ⇒ String?
readonly
If set to passthrough, passes any KLV data from the input source to this output.
-
#klv_data_pids ⇒ String?
readonly
The PID for the input source KLV data to this output.
-
#nielsen_id3_behavior ⇒ String?
readonly
If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
-
#null_packet_bitrate ⇒ Numeric?
readonly
The value, in bits per second, of extra null packets to insert into the transport stream.
-
#pat_interval ⇒ Numeric?
readonly
The number of milliseconds between instances of this table in the output transport stream.
-
#pcr_control ⇒ String?
readonly
When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header.
-
#pcr_period ⇒ Numeric?
readonly
The maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.
-
#pcr_pid ⇒ String?
readonly
The PID of the Program Clock Reference (PCR) in the transport stream.
-
#pmt_interval ⇒ Numeric?
readonly
The number of milliseconds between instances of this table in the output transport stream.
-
#pmt_pid ⇒ String?
readonly
The PID for the Program Map Table (PMT) in the transport stream.
-
#program_num ⇒ Numeric?
readonly
The value of the program number field in the Program Map Table (PMT).
-
#rate_mode ⇒ String?
readonly
When VBR, does not insert null packets into the transport stream to fill the specified bitrate.
-
#scte27_pids ⇒ String?
readonly
The PID for the input source SCTE-27 data to this output.
-
#scte35_control ⇒ String?
readonly
Optionally passes SCTE-35 signals from the input source to this output.
-
#scte35_pid ⇒ String?
readonly
The PID of the SCTE-35 stream in the transport stream.
- #scte35_preroll_pullup_milliseconds ⇒ Numeric? readonly
-
#segmentation_markers ⇒ String?
readonly
Inserts segmentation markers at each segmentationTime period.
-
#segmentation_style ⇒ String?
readonly
The segmentation style parameter controls how segmentation markers are inserted into the transport stream.
-
#segmentation_time ⇒ Numeric?
readonly
The length, in seconds, of each segment.
-
#timed_metadata_behavior ⇒ String?
readonly
When set to passthrough, timed metadata is passed through from input to output.
-
#timed_metadata_pid ⇒ String?
readonly
The PID of the timed metadata stream in the transport stream.
-
#transport_stream_id ⇒ Numeric?
readonly
The value of the transport stream ID field in the Program Map Table (PMT).
-
#video_pid ⇒ String?
readonly
The PID of the elementary video stream in the transport stream.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(absent_input_audio_behavior: nil, arib: nil, arib_captions_pid: nil, arib_captions_pid_control: nil, audio_buffer_model: nil, audio_frames_per_pes: nil, audio_pids: nil, audio_stream_type: nil, bitrate: nil, buffer_model: nil, cc_descriptor: nil, dvb_nit_settings: nil, dvb_sdt_settings: nil, dvb_sub_pids: nil, dvb_tdt_settings: nil, dvb_teletext_pid: nil, ebif: nil, ebp_audio_interval: nil, ebp_lookahead_ms: nil, ebp_placement: nil, ecm_pid: nil, es_rate_in_pes: nil, etv_platform_pid: nil, etv_signal_pid: nil, fragment_time: nil, klv: nil, klv_data_pids: nil, nielsen_id3_behavior: nil, null_packet_bitrate: nil, pat_interval: nil, pcr_control: nil, pcr_period: nil, pcr_pid: nil, pmt_interval: nil, pmt_pid: nil, program_num: nil, rate_mode: nil, scte27_pids: nil, scte35_control: nil, scte35_pid: nil, scte35_preroll_pullup_milliseconds: nil, segmentation_markers: nil, segmentation_style: nil, segmentation_time: nil, timed_metadata_behavior: nil, timed_metadata_pid: nil, transport_stream_id: nil, video_pid: nil) ⇒ M2tsSettingsProperty
constructor
A new instance of M2tsSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(absent_input_audio_behavior: nil, arib: nil, arib_captions_pid: nil, arib_captions_pid_control: nil, audio_buffer_model: nil, audio_frames_per_pes: nil, audio_pids: nil, audio_stream_type: nil, bitrate: nil, buffer_model: nil, cc_descriptor: nil, dvb_nit_settings: nil, dvb_sdt_settings: nil, dvb_sub_pids: nil, dvb_tdt_settings: nil, dvb_teletext_pid: nil, ebif: nil, ebp_audio_interval: nil, ebp_lookahead_ms: nil, ebp_placement: nil, ecm_pid: nil, es_rate_in_pes: nil, etv_platform_pid: nil, etv_signal_pid: nil, fragment_time: nil, klv: nil, klv_data_pids: nil, nielsen_id3_behavior: nil, null_packet_bitrate: nil, pat_interval: nil, pcr_control: nil, pcr_period: nil, pcr_pid: nil, pmt_interval: nil, pmt_pid: nil, program_num: nil, rate_mode: nil, scte27_pids: nil, scte35_control: nil, scte35_pid: nil, scte35_preroll_pullup_milliseconds: nil, segmentation_markers: nil, segmentation_style: nil, segmentation_time: nil, timed_metadata_behavior: nil, timed_metadata_pid: nil, transport_stream_id: nil, video_pid: nil) ⇒ M2tsSettingsProperty
Returns a new instance of M2tsSettingsProperty.
9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 |
# File 'media_live/cfn_channel.rb', line 9175 def initialize(absent_input_audio_behavior: nil, arib: nil, arib_captions_pid: nil, arib_captions_pid_control: nil, audio_buffer_model: nil, audio_frames_per_pes: nil, audio_pids: nil, audio_stream_type: nil, bitrate: nil, buffer_model: nil, cc_descriptor: nil, dvb_nit_settings: nil, dvb_sdt_settings: nil, dvb_sub_pids: nil, dvb_tdt_settings: nil, dvb_teletext_pid: nil, ebif: nil, ebp_audio_interval: nil, ebp_lookahead_ms: nil, ebp_placement: nil, ecm_pid: nil, es_rate_in_pes: nil, etv_platform_pid: nil, etv_signal_pid: nil, fragment_time: nil, klv: nil, klv_data_pids: nil, nielsen_id3_behavior: nil, null_packet_bitrate: nil, pat_interval: nil, pcr_control: nil, pcr_period: nil, pcr_pid: nil, pmt_interval: nil, pmt_pid: nil, program_num: nil, rate_mode: nil, scte27_pids: nil, scte35_control: nil, scte35_pid: nil, scte35_preroll_pullup_milliseconds: nil, segmentation_markers: nil, segmentation_style: nil, segmentation_time: nil, timed_metadata_behavior: nil, timed_metadata_pid: nil, transport_stream_id: nil, video_pid: nil) @absent_input_audio_behavior = absent_input_audio_behavior Jsii::Type.check_type(@absent_input_audio_behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "absentInputAudioBehavior") unless @absent_input_audio_behavior.nil? @arib = arib Jsii::Type.check_type(@arib, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arib") unless @arib.nil? @arib_captions_pid = arib_captions_pid Jsii::Type.check_type(@arib_captions_pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "aribCaptionsPid") unless @arib_captions_pid.nil? @arib_captions_pid_control = arib_captions_pid_control Jsii::Type.check_type(@arib_captions_pid_control, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "aribCaptionsPidControl") unless @arib_captions_pid_control.nil? @audio_buffer_model = audio_buffer_model Jsii::Type.check_type(@audio_buffer_model, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "audioBufferModel") unless @audio_buffer_model.nil? @audio_frames_per_pes = audio_frames_per_pes Jsii::Type.check_type(@audio_frames_per_pes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "audioFramesPerPes") unless @audio_frames_per_pes.nil? @audio_pids = audio_pids Jsii::Type.check_type(@audio_pids, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "audioPids") unless @audio_pids.nil? @audio_stream_type = audio_stream_type Jsii::Type.check_type(@audio_stream_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "audioStreamType") unless @audio_stream_type.nil? @bitrate = bitrate Jsii::Type.check_type(@bitrate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "bitrate") unless @bitrate.nil? @buffer_model = buffer_model Jsii::Type.check_type(@buffer_model, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bufferModel") unless @buffer_model.nil? @cc_descriptor = cc_descriptor Jsii::Type.check_type(@cc_descriptor, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ccDescriptor") unless @cc_descriptor.nil? @dvb_nit_settings = dvb_nit_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::DvbNitSettingsProperty.new(**dvb_nit_settings.transform_keys(&:to_sym)) : dvb_nit_settings Jsii::Type.check_type(@dvb_nit_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5EdmJOaXRTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "dvbNitSettings") unless @dvb_nit_settings.nil? @dvb_sdt_settings = dvb_sdt_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::DvbSdtSettingsProperty.new(**dvb_sdt_settings.transform_keys(&:to_sym)) : dvb_sdt_settings Jsii::Type.check_type(@dvb_sdt_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5EdmJTZHRTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "dvbSdtSettings") unless @dvb_sdt_settings.nil? @dvb_sub_pids = dvb_sub_pids Jsii::Type.check_type(@dvb_sub_pids, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dvbSubPids") unless @dvb_sub_pids.nil? @dvb_tdt_settings = dvb_tdt_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::DvbTdtSettingsProperty.new(**dvb_tdt_settings.transform_keys(&:to_sym)) : dvb_tdt_settings Jsii::Type.check_type(@dvb_tdt_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5EdmJUZHRTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "dvbTdtSettings") unless @dvb_tdt_settings.nil? @dvb_teletext_pid = dvb_teletext_pid Jsii::Type.check_type(@dvb_teletext_pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dvbTeletextPid") unless @dvb_teletext_pid.nil? @ebif = ebif Jsii::Type.check_type(@ebif, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ebif") unless @ebif.nil? @ebp_audio_interval = ebp_audio_interval Jsii::Type.check_type(@ebp_audio_interval, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ebpAudioInterval") unless @ebp_audio_interval.nil? @ebp_lookahead_ms = ebp_lookahead_ms Jsii::Type.check_type(@ebp_lookahead_ms, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ebpLookaheadMs") unless @ebp_lookahead_ms.nil? @ebp_placement = ebp_placement Jsii::Type.check_type(@ebp_placement, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ebpPlacement") unless @ebp_placement.nil? @ecm_pid = ecm_pid Jsii::Type.check_type(@ecm_pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ecmPid") unless @ecm_pid.nil? @es_rate_in_pes = es_rate_in_pes Jsii::Type.check_type(@es_rate_in_pes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "esRateInPes") unless @es_rate_in_pes.nil? @etv_platform_pid = etv_platform_pid Jsii::Type.check_type(@etv_platform_pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "etvPlatformPid") unless @etv_platform_pid.nil? @etv_signal_pid = etv_signal_pid Jsii::Type.check_type(@etv_signal_pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "etvSignalPid") unless @etv_signal_pid.nil? @fragment_time = fragment_time Jsii::Type.check_type(@fragment_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "fragmentTime") unless @fragment_time.nil? @klv = klv Jsii::Type.check_type(@klv, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "klv") unless @klv.nil? @klv_data_pids = klv_data_pids Jsii::Type.check_type(@klv_data_pids, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "klvDataPids") unless @klv_data_pids.nil? @nielsen_id3_behavior = nielsen_id3_behavior Jsii::Type.check_type(@nielsen_id3_behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nielsenId3Behavior") unless @nielsen_id3_behavior.nil? @null_packet_bitrate = null_packet_bitrate Jsii::Type.check_type(@null_packet_bitrate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "nullPacketBitrate") unless @null_packet_bitrate.nil? @pat_interval = pat_interval Jsii::Type.check_type(@pat_interval, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "patInterval") unless @pat_interval.nil? @pcr_control = pcr_control Jsii::Type.check_type(@pcr_control, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pcrControl") unless @pcr_control.nil? @pcr_period = pcr_period Jsii::Type.check_type(@pcr_period, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "pcrPeriod") unless @pcr_period.nil? @pcr_pid = pcr_pid Jsii::Type.check_type(@pcr_pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pcrPid") unless @pcr_pid.nil? @pmt_interval = pmt_interval Jsii::Type.check_type(@pmt_interval, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "pmtInterval") unless @pmt_interval.nil? @pmt_pid = pmt_pid Jsii::Type.check_type(@pmt_pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pmtPid") unless @pmt_pid.nil? @program_num = program_num Jsii::Type.check_type(@program_num, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "programNum") unless @program_num.nil? @rate_mode = rate_mode Jsii::Type.check_type(@rate_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "rateMode") unless @rate_mode.nil? @scte27_pids = scte27_pids Jsii::Type.check_type(@scte27_pids, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scte27Pids") unless @scte27_pids.nil? @scte35_control = scte35_control Jsii::Type.check_type(@scte35_control, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scte35Control") unless @scte35_control.nil? @scte35_pid = scte35_pid Jsii::Type.check_type(@scte35_pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scte35Pid") unless @scte35_pid.nil? @scte35_preroll_pullup_milliseconds = scte35_preroll_pullup_milliseconds Jsii::Type.check_type(@scte35_preroll_pullup_milliseconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "scte35PrerollPullupMilliseconds") unless @scte35_preroll_pullup_milliseconds.nil? @segmentation_markers = segmentation_markers Jsii::Type.check_type(@segmentation_markers, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "segmentationMarkers") unless @segmentation_markers.nil? @segmentation_style = segmentation_style Jsii::Type.check_type(@segmentation_style, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "segmentationStyle") unless @segmentation_style.nil? @segmentation_time = segmentation_time Jsii::Type.check_type(@segmentation_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "segmentationTime") unless @segmentation_time.nil? @timed_metadata_behavior = Jsii::Type.check_type(@timed_metadata_behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timedMetadataBehavior") unless @timed_metadata_behavior.nil? @timed_metadata_pid = Jsii::Type.check_type(@timed_metadata_pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timedMetadataPid") unless @timed_metadata_pid.nil? @transport_stream_id = transport_stream_id Jsii::Type.check_type(@transport_stream_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "transportStreamId") unless @transport_stream_id.nil? @video_pid = video_pid Jsii::Type.check_type(@video_pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "videoPid") unless @video_pid.nil? end |
Instance Attribute Details
#absent_input_audio_behavior ⇒ String? (readonly)
When set to drop, the output audio streams are removed from the program if the selected input audio stream is removed from the input.
This allows the output audio configuration to dynamically change based on the input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream.
9280 9281 9282 |
# File 'media_live/cfn_channel.rb', line 9280 def absent_input_audio_behavior @absent_input_audio_behavior end |
#arib ⇒ String? (readonly)
When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.
9285 9286 9287 |
# File 'media_live/cfn_channel.rb', line 9285 def arib @arib end |
#arib_captions_pid ⇒ String? (readonly)
The PID for ARIB Captions in the transport stream.
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
9292 9293 9294 |
# File 'media_live/cfn_channel.rb', line 9292 def arib_captions_pid @arib_captions_pid end |
#arib_captions_pid_control ⇒ String? (readonly)
If set to auto, The PID number used for ARIB Captions will be auto-selected from unused PIDs.
If set to useConfigured, ARIB captions will be on the configured PID number.
9299 9300 9301 |
# File 'media_live/cfn_channel.rb', line 9299 def arib_captions_pid_control @arib_captions_pid_control end |
#audio_buffer_model ⇒ String? (readonly)
When set to dvb, uses the DVB buffer model for Dolby Digital audio.
When set to atsc, the ATSC model is used.
9306 9307 9308 |
# File 'media_live/cfn_channel.rb', line 9306 def audio_buffer_model @audio_buffer_model end |
#audio_frames_per_pes ⇒ Numeric? (readonly)
The number of audio frames to insert for each PES packet.
9311 9312 9313 |
# File 'media_live/cfn_channel.rb', line 9311 def audio_frames_per_pes @audio_frames_per_pes end |
#audio_pids ⇒ String? (readonly)
The PID of the elementary audio streams in the transport stream.
Multiple values are accepted, and can be entered in ranges or by comma separation. You can enter the value as a decimal or hexadecimal value. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).
9318 9319 9320 |
# File 'media_live/cfn_channel.rb', line 9318 def audio_pids @audio_pids end |
#audio_stream_type ⇒ String? (readonly)
When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3.
When set to dvb, uses stream type = 0x06.
9325 9326 9327 |
# File 'media_live/cfn_channel.rb', line 9325 def audio_stream_type @audio_stream_type end |
#bitrate ⇒ Numeric? (readonly)
The output bitrate of the transport stream in bits per second.
Setting to 0 lets the muxer automatically determine the appropriate bitrate.
9332 9333 9334 |
# File 'media_live/cfn_channel.rb', line 9332 def bitrate @bitrate end |
#buffer_model ⇒ String? (readonly)
If set to multiplex, uses the multiplex buffer model for accurate interleaving.
Setting to bufferModel to none can lead to lower latency, but low-memory devices might not be able to play back the stream without interruptions.
9339 9340 9341 |
# File 'media_live/cfn_channel.rb', line 9339 def buffer_model @buffer_model end |
#cc_descriptor ⇒ String? (readonly)
When set to enabled, generates captionServiceDescriptor in PMT.
9344 9345 9346 |
# File 'media_live/cfn_channel.rb', line 9344 def cc_descriptor @cc_descriptor end |
#dvb_nit_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Inserts a DVB Network Information Table (NIT) at the specified table repetition interval.
9349 9350 9351 |
# File 'media_live/cfn_channel.rb', line 9349 def dvb_nit_settings @dvb_nit_settings end |
#dvb_sdt_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Inserts a DVB Service Description Table (SDT) at the specified table repetition interval.
9354 9355 9356 |
# File 'media_live/cfn_channel.rb', line 9354 def dvb_sdt_settings @dvb_sdt_settings end |
#dvb_sub_pids ⇒ String? (readonly)
The PID for the input source DVB Subtitle data to this output.
Multiple values are accepted, and can be entered in ranges and/or by comma separation. You can enter the value as a decimal or hexadecimal value. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).
9361 9362 9363 |
# File 'media_live/cfn_channel.rb', line 9361 def dvb_sub_pids @dvb_sub_pids end |
#dvb_tdt_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.
9366 9367 9368 |
# File 'media_live/cfn_channel.rb', line 9366 def dvb_tdt_settings @dvb_tdt_settings end |
#dvb_teletext_pid ⇒ String? (readonly)
The PID for the input source DVB Teletext data to this output.
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
9373 9374 9375 |
# File 'media_live/cfn_channel.rb', line 9373 def dvb_teletext_pid @dvb_teletext_pid end |
#ebif ⇒ String? (readonly)
If set to passthrough, passes any EBIF data from the input source to this output.
9378 9379 9380 |
# File 'media_live/cfn_channel.rb', line 9378 def ebif @ebif end |
#ebp_audio_interval ⇒ String? (readonly)
When videoAndFixedIntervals is selected, audio EBP markers are added to partitions 3 and 4.
The interval between these additional markers is fixed, and is slightly shorter than the video EBP marker interval. This is only available when EBP Cablelabs segmentation markers are selected. Partitions 1 and 2 always follow the video interval.
9385 9386 9387 |
# File 'media_live/cfn_channel.rb', line 9385 def ebp_audio_interval @ebp_audio_interval end |
#ebp_lookahead_ms ⇒ Numeric? (readonly)
When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video.
If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is "stretched" to the next marker. The lookahead value does not add latency to the system. The channel must be configured elsewhere to create sufficient latency to make the lookahead accurate.
9392 9393 9394 |
# File 'media_live/cfn_channel.rb', line 9392 def ebp_lookahead_ms @ebp_lookahead_ms end |
#ebp_placement ⇒ String? (readonly)
Controls placement of EBP on audio PIDs.
If set to videoAndAudioPids, EBP markers are placed on the video PID and all audio PIDs. If set to videoPid, EBP markers are placed on only the video PID.
9399 9400 9401 |
# File 'media_live/cfn_channel.rb', line 9399 def ebp_placement @ebp_placement end |
#ecm_pid ⇒ String? (readonly)
This field is unused and deprecated.
9404 9405 9406 |
# File 'media_live/cfn_channel.rb', line 9404 def ecm_pid @ecm_pid end |
#es_rate_in_pes ⇒ String? (readonly)
Includes or excludes the ES Rate field in the PES header.
9409 9410 9411 |
# File 'media_live/cfn_channel.rb', line 9409 def es_rate_in_pes @es_rate_in_pes end |
#etv_platform_pid ⇒ String? (readonly)
The PID for the input source ETV Platform data to this output.
You can enter it as a decimal or hexadecimal value. Valid values are 32 (or 0x20) to 8182 (or 0x1ff6).
9416 9417 9418 |
# File 'media_live/cfn_channel.rb', line 9416 def etv_platform_pid @etv_platform_pid end |
#etv_signal_pid ⇒ String? (readonly)
The PID for input source ETV Signal data to this output.
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
9423 9424 9425 |
# File 'media_live/cfn_channel.rb', line 9423 def etv_signal_pid @etv_signal_pid end |
#fragment_time ⇒ Numeric? (readonly)
The length in seconds of each fragment.
This is used only with EBP markers.
9430 9431 9432 |
# File 'media_live/cfn_channel.rb', line 9430 def fragment_time @fragment_time end |
#klv ⇒ String? (readonly)
If set to passthrough, passes any KLV data from the input source to this output.
9435 9436 9437 |
# File 'media_live/cfn_channel.rb', line 9435 def klv @klv end |
#klv_data_pids ⇒ String? (readonly)
The PID for the input source KLV data to this output.
Multiple values are accepted, and can be entered in ranges or by comma separation. You can enter the value as a decimal or hexadecimal value. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).
9442 9443 9444 |
# File 'media_live/cfn_channel.rb', line 9442 def klv_data_pids @klv_data_pids end |
#nielsen_id3_behavior ⇒ String? (readonly)
If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
9447 9448 9449 |
# File 'media_live/cfn_channel.rb', line 9447 def nielsen_id3_behavior @nielsen_id3_behavior end |
#null_packet_bitrate ⇒ Numeric? (readonly)
The value, in bits per second, of extra null packets to insert into the transport stream.
This can be used if a downstream encryption system requires periodic null packets.
9454 9455 9456 |
# File 'media_live/cfn_channel.rb', line 9454 def null_packet_bitrate @null_packet_bitrate end |
#pat_interval ⇒ Numeric? (readonly)
The number of milliseconds between instances of this table in the output transport stream.
Valid values are 0, 10..1000.
9461 9462 9463 |
# File 'media_live/cfn_channel.rb', line 9461 def pat_interval @pat_interval end |
#pcr_control ⇒ String? (readonly)
When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header.
This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.
9468 9469 9470 |
# File 'media_live/cfn_channel.rb', line 9468 def pcr_control @pcr_control end |
#pcr_period ⇒ Numeric? (readonly)
The maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.
9473 9474 9475 |
# File 'media_live/cfn_channel.rb', line 9473 def pcr_period @pcr_period end |
#pcr_pid ⇒ String? (readonly)
The PID of the Program Clock Reference (PCR) in the transport stream.
When no value is given, MediaLive assigns the same value as the video PID. You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
9480 9481 9482 |
# File 'media_live/cfn_channel.rb', line 9480 def pcr_pid @pcr_pid end |
#pmt_interval ⇒ Numeric? (readonly)
The number of milliseconds between instances of this table in the output transport stream.
Valid values are 0, 10..1000.
9487 9488 9489 |
# File 'media_live/cfn_channel.rb', line 9487 def pmt_interval @pmt_interval end |
#pmt_pid ⇒ String? (readonly)
The PID for the Program Map Table (PMT) in the transport stream.
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
9494 9495 9496 |
# File 'media_live/cfn_channel.rb', line 9494 def pmt_pid @pmt_pid end |
#program_num ⇒ Numeric? (readonly)
The value of the program number field in the Program Map Table (PMT).
9499 9500 9501 |
# File 'media_live/cfn_channel.rb', line 9499 def program_num @program_num end |
#rate_mode ⇒ String? (readonly)
When VBR, does not insert null packets into the transport stream to fill the specified bitrate.
The bitrate setting acts as the maximum bitrate when VBR is set.
9506 9507 9508 |
# File 'media_live/cfn_channel.rb', line 9506 def rate_mode @rate_mode end |
#scte27_pids ⇒ String? (readonly)
The PID for the input source SCTE-27 data to this output.
Multiple values are accepted, and can be entered in ranges or by comma separation. You can enter the value as a decimal or hexadecimal value. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).
9513 9514 9515 |
# File 'media_live/cfn_channel.rb', line 9513 def scte27_pids @scte27_pids end |
#scte35_control ⇒ String? (readonly)
Optionally passes SCTE-35 signals from the input source to this output.
9518 9519 9520 |
# File 'media_live/cfn_channel.rb', line 9518 def scte35_control @scte35_control end |
#scte35_pid ⇒ String? (readonly)
The PID of the SCTE-35 stream in the transport stream.
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
9525 9526 9527 |
# File 'media_live/cfn_channel.rb', line 9525 def scte35_pid @scte35_pid end |
#scte35_preroll_pullup_milliseconds ⇒ Numeric? (readonly)
9528 9529 9530 |
# File 'media_live/cfn_channel.rb', line 9528 def scte35_preroll_pullup_milliseconds @scte35_preroll_pullup_milliseconds end |
#segmentation_markers ⇒ String? (readonly)
Inserts segmentation markers at each segmentationTime period.
raiSegstart sets the Random Access Indicator bit in the adaptation field. raiAdapt sets the RAI bit and adds the current timecode in the private data bytes. psiSegstart inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary Point information to the adaptation field as per OpenCable specification OC-SP-EBP-I01-130118. ebpLegacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format.
9535 9536 9537 |
# File 'media_live/cfn_channel.rb', line 9535 def segmentation_markers @segmentation_markers end |
#segmentation_style ⇒ String? (readonly)
The segmentation style parameter controls how segmentation markers are inserted into the transport stream.
With avails, it is possible that segments might be truncated, which can influence where future segmentation markers are inserted. When a segmentation style of resetCadence is selected and a segment is truncated due to an avail, we will reset the segmentation cadence. This means the subsequent segment will have a duration of $segmentationTime seconds. When a segmentation style of maintainCadence is selected and a segment is truncated due to an avail, we will not reset the segmentation cadence. This means the subsequent segment will likely be truncated as well. However, all segments after that will have a duration of $segmentationTime seconds. Note that EBP lookahead is a slight exception to this rule.
9542 9543 9544 |
# File 'media_live/cfn_channel.rb', line 9542 def segmentation_style @segmentation_style end |
#segmentation_time ⇒ Numeric? (readonly)
The length, in seconds, of each segment.
This is required unless markers is set to None_.
9549 9550 9551 |
# File 'media_live/cfn_channel.rb', line 9549 def segmentation_time @segmentation_time end |
#timed_metadata_behavior ⇒ String? (readonly)
When set to passthrough, timed metadata is passed through from input to output.
9554 9555 9556 |
# File 'media_live/cfn_channel.rb', line 9554 def @timed_metadata_behavior end |
#timed_metadata_pid ⇒ String? (readonly)
The PID of the timed metadata stream in the transport stream.
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
9561 9562 9563 |
# File 'media_live/cfn_channel.rb', line 9561 def @timed_metadata_pid end |
#transport_stream_id ⇒ Numeric? (readonly)
The value of the transport stream ID field in the Program Map Table (PMT).
9566 9567 9568 |
# File 'media_live/cfn_channel.rb', line 9566 def transport_stream_id @transport_stream_id end |
#video_pid ⇒ String? (readonly)
The PID of the elementary video stream in the transport stream.
You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).
9573 9574 9575 |
# File 'media_live/cfn_channel.rb', line 9573 def video_pid @video_pid end |
Class Method Details
.jsii_properties ⇒ Object
9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 |
# File 'media_live/cfn_channel.rb', line 9575 def self.jsii_properties { :absent_input_audio_behavior => "absentInputAudioBehavior", :arib => "arib", :arib_captions_pid => "aribCaptionsPid", :arib_captions_pid_control => "aribCaptionsPidControl", :audio_buffer_model => "audioBufferModel", :audio_frames_per_pes => "audioFramesPerPes", :audio_pids => "audioPids", :audio_stream_type => "audioStreamType", :bitrate => "bitrate", :buffer_model => "bufferModel", :cc_descriptor => "ccDescriptor", :dvb_nit_settings => "dvbNitSettings", :dvb_sdt_settings => "dvbSdtSettings", :dvb_sub_pids => "dvbSubPids", :dvb_tdt_settings => "dvbTdtSettings", :dvb_teletext_pid => "dvbTeletextPid", :ebif => "ebif", :ebp_audio_interval => "ebpAudioInterval", :ebp_lookahead_ms => "ebpLookaheadMs", :ebp_placement => "ebpPlacement", :ecm_pid => "ecmPid", :es_rate_in_pes => "esRateInPes", :etv_platform_pid => "etvPlatformPid", :etv_signal_pid => "etvSignalPid", :fragment_time => "fragmentTime", :klv => "klv", :klv_data_pids => "klvDataPids", :nielsen_id3_behavior => "nielsenId3Behavior", :null_packet_bitrate => "nullPacketBitrate", :pat_interval => "patInterval", :pcr_control => "pcrControl", :pcr_period => "pcrPeriod", :pcr_pid => "pcrPid", :pmt_interval => "pmtInterval", :pmt_pid => "pmtPid", :program_num => "programNum", :rate_mode => "rateMode", :scte27_pids => "scte27Pids", :scte35_control => "scte35Control", :scte35_pid => "scte35Pid", :scte35_preroll_pullup_milliseconds => "scte35PrerollPullupMilliseconds", :segmentation_markers => "segmentationMarkers", :segmentation_style => "segmentationStyle", :segmentation_time => "segmentationTime", :timed_metadata_behavior => "timedMetadataBehavior", :timed_metadata_pid => "timedMetadataPid", :transport_stream_id => "transportStreamId", :video_pid => "videoPid", } end |
Instance Method Details
#to_jsii ⇒ Object
9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 |
# File 'media_live/cfn_channel.rb', line 9628 def to_jsii result = {} result.merge!({ "absentInputAudioBehavior" => @absent_input_audio_behavior, "arib" => @arib, "aribCaptionsPid" => @arib_captions_pid, "aribCaptionsPidControl" => @arib_captions_pid_control, "audioBufferModel" => @audio_buffer_model, "audioFramesPerPes" => @audio_frames_per_pes, "audioPids" => @audio_pids, "audioStreamType" => @audio_stream_type, "bitrate" => @bitrate, "bufferModel" => @buffer_model, "ccDescriptor" => @cc_descriptor, "dvbNitSettings" => @dvb_nit_settings, "dvbSdtSettings" => @dvb_sdt_settings, "dvbSubPids" => @dvb_sub_pids, "dvbTdtSettings" => @dvb_tdt_settings, "dvbTeletextPid" => @dvb_teletext_pid, "ebif" => @ebif, "ebpAudioInterval" => @ebp_audio_interval, "ebpLookaheadMs" => @ebp_lookahead_ms, "ebpPlacement" => @ebp_placement, "ecmPid" => @ecm_pid, "esRateInPes" => @es_rate_in_pes, "etvPlatformPid" => @etv_platform_pid, "etvSignalPid" => @etv_signal_pid, "fragmentTime" => @fragment_time, "klv" => @klv, "klvDataPids" => @klv_data_pids, "nielsenId3Behavior" => @nielsen_id3_behavior, "nullPacketBitrate" => @null_packet_bitrate, "patInterval" => @pat_interval, "pcrControl" => @pcr_control, "pcrPeriod" => @pcr_period, "pcrPid" => @pcr_pid, "pmtInterval" => @pmt_interval, "pmtPid" => @pmt_pid, "programNum" => @program_num, "rateMode" => @rate_mode, "scte27Pids" => @scte27_pids, "scte35Control" => @scte35_control, "scte35Pid" => @scte35_pid, "scte35PrerollPullupMilliseconds" => @scte35_preroll_pullup_milliseconds, "segmentationMarkers" => @segmentation_markers, "segmentationStyle" => @segmentation_style, "segmentationTime" => @segmentation_time, "timedMetadataBehavior" => @timed_metadata_behavior, "timedMetadataPid" => @timed_metadata_pid, "transportStreamId" => @transport_stream_id, "videoPid" => @video_pid, }) result.compact end |