Class: AWSCDK::MediaLive::CfnChannel::DvbSdtSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

A DVB Service Description Table (SDT).

The parent of this entity is M2tsSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output_sdt: nil, rep_interval: nil, service_name: nil, service_provider_name: nil) ⇒ DvbSdtSettingsProperty

Returns a new instance of DvbSdtSettingsProperty.

Parameters:

  • output_sdt (String, nil) (defaults to: nil)

    Selects a method of inserting SDT information into an output stream.

  • rep_interval (Numeric, nil) (defaults to: nil)

    The number of milliseconds between instances of this table in the output transport stream.

  • service_name (String, nil) (defaults to: nil)

    The service name placed in the serviceDescriptor in the Service Description Table (SDT).

  • service_provider_name (String, nil) (defaults to: nil)

    The service provider name placed in the serviceDescriptor in the Service Description Table (SDT).



4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
# File 'media_live/cfn_channel.rb', line 4313

def initialize(output_sdt: nil, rep_interval: nil, service_name: nil, service_provider_name: nil)
  @output_sdt = output_sdt
  Jsii::Type.check_type(@output_sdt, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputSdt") unless @output_sdt.nil?
  @rep_interval = rep_interval
  Jsii::Type.check_type(@rep_interval, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "repInterval") unless @rep_interval.nil?
  @service_name = service_name
  Jsii::Type.check_type(@service_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceName") unless @service_name.nil?
  @service_provider_name = service_provider_name
  Jsii::Type.check_type(@service_provider_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceProviderName") unless @service_provider_name.nil?
end

Instance Attribute Details

#output_sdtString? (readonly)

Selects a method of inserting SDT information into an output stream.

The sdtFollow setting copies SDT information from input stream to output stream. The sdtFollowIfPresent setting copies SDT information from input stream to output stream if SDT information is present in the input. Otherwise, it falls back on the user-defined values. The sdtManual setting means that the user will enter the SDT information. The sdtNone setting means that the output stream will not contain SDT information.



4330
4331
4332
# File 'media_live/cfn_channel.rb', line 4330

def output_sdt
  @output_sdt
end

#rep_intervalNumeric? (readonly)

The number of milliseconds between instances of this table in the output transport stream.



4335
4336
4337
# File 'media_live/cfn_channel.rb', line 4335

def rep_interval
  @rep_interval
end

#service_nameString? (readonly)

The service name placed in the serviceDescriptor in the Service Description Table (SDT).

The maximum length is 256 characters.



4342
4343
4344
# File 'media_live/cfn_channel.rb', line 4342

def service_name
  @service_name
end

#service_provider_nameString? (readonly)

The service provider name placed in the serviceDescriptor in the Service Description Table (SDT).

The maximum length is 256 characters.



4349
4350
4351
# File 'media_live/cfn_channel.rb', line 4349

def service_provider_name
  @service_provider_name
end

Class Method Details

.jsii_propertiesObject



4351
4352
4353
4354
4355
4356
4357
4358
# File 'media_live/cfn_channel.rb', line 4351

def self.jsii_properties
  {
    :output_sdt => "outputSdt",
    :rep_interval => "repInterval",
    :service_name => "serviceName",
    :service_provider_name => "serviceProviderName",
  }
end

Instance Method Details

#to_jsiiObject



4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
# File 'media_live/cfn_channel.rb', line 4360

def to_jsii
  result = {}
  result.merge!({
    "outputSdt" => @output_sdt,
    "repInterval" => @rep_interval,
    "serviceName" => @service_name,
    "serviceProviderName" => @service_provider_name,
  })
  result.compact
end