Class: AWSCDK::MediaPackage::CfnPackagingConfiguration::DashManifestProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_package/cfn_packaging_configuration.rb

Overview

Parameters for a DASH manifest.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(manifest_layout: nil, manifest_name: nil, min_buffer_time_seconds: nil, profile: nil, scte_markers_source: nil, stream_selection: nil) ⇒ DashManifestProperty

Returns a new instance of DashManifestProperty.

Parameters:

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

    Determines the position of some tags in the Media Presentation Description (MPD).

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

    A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration.

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

    Minimum amount of content (measured in seconds) that a player must keep available in the buffer.

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

    The DASH profile type.

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

    The source of scte markers used.

  • stream_selection (AWSCDK::IResolvable, AWSCDK::MediaPackage::CfnPackagingConfiguration::StreamSelectionProperty, nil) (defaults to: nil)

    Limitations for outputs from the endpoint, based on the video bitrate.



741
742
743
744
745
746
747
748
749
750
751
752
753
754
# File 'media_package/cfn_packaging_configuration.rb', line 741

def initialize(manifest_layout: nil, manifest_name: nil, min_buffer_time_seconds: nil, profile: nil, scte_markers_source: nil, stream_selection: nil)
  @manifest_layout = manifest_layout
  Jsii::Type.check_type(@manifest_layout, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "manifestLayout") unless @manifest_layout.nil?
  @manifest_name = manifest_name
  Jsii::Type.check_type(@manifest_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "manifestName") unless @manifest_name.nil?
  @min_buffer_time_seconds = min_buffer_time_seconds
  Jsii::Type.check_type(@min_buffer_time_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minBufferTimeSeconds") unless @min_buffer_time_seconds.nil?
  @profile = profile
  Jsii::Type.check_type(@profile, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "profile") unless @profile.nil?
  @scte_markers_source = scte_markers_source
  Jsii::Type.check_type(@scte_markers_source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scteMarkersSource") unless @scte_markers_source.nil?
  @stream_selection = stream_selection.is_a?(Hash) ? ::AWSCDK::MediaPackage::CfnPackagingConfiguration::StreamSelectionProperty.new(**stream_selection.transform_keys(&:to_sym)) : stream_selection
  Jsii::Type.check_type(@stream_selection, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYXBhY2thZ2UuQ2ZuUGFja2FnaW5nQ29uZmlndXJhdGlvbi5TdHJlYW1TZWxlY3Rpb25Qcm9wZXJ0eSJ9XX19")), "streamSelection") unless @stream_selection.nil?
end

Instance Attribute Details

#manifest_layoutString? (readonly)

Determines the position of some tags in the Media Presentation Description (MPD).

When set to FULL , elements like SegmentTemplate and ContentProtection are included in each Representation . When set to COMPACT , duplicate elements are combined and presented at the AdaptationSet level.



762
763
764
# File 'media_package/cfn_packaging_configuration.rb', line 762

def manifest_layout
  @manifest_layout
end

#manifest_nameString? (readonly)

A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration.



767
768
769
# File 'media_package/cfn_packaging_configuration.rb', line 767

def manifest_name
  @manifest_name
end

#min_buffer_time_secondsNumeric? (readonly)

Minimum amount of content (measured in seconds) that a player must keep available in the buffer.



772
773
774
# File 'media_package/cfn_packaging_configuration.rb', line 772

def min_buffer_time_seconds
  @min_buffer_time_seconds
end

#profileString? (readonly)

The DASH profile type.

When set to HBBTV_1_5 , the content is compliant with HbbTV 1.5.



779
780
781
# File 'media_package/cfn_packaging_configuration.rb', line 779

def profile
  @profile
end

#scte_markers_sourceString? (readonly)

The source of scte markers used.

Value description:

  • SEGMENTS - The scte markers are sourced from the segments of the ingested content.
  • MANIFEST - the scte markers are sourced from the manifest of the ingested content. The MANIFEST value is compatible with source HLS playlists using the SCTE-35 Enhanced syntax ( EXT-OATCLS-SCTE35 tags). SCTE-35 Elemental and SCTE-35 Daterange syntaxes are not supported with this option.


789
790
791
# File 'media_package/cfn_packaging_configuration.rb', line 789

def scte_markers_source
  @scte_markers_source
end

#stream_selectionAWSCDK::IResolvable, ... (readonly)

Limitations for outputs from the endpoint, based on the video bitrate.



794
795
796
# File 'media_package/cfn_packaging_configuration.rb', line 794

def stream_selection
  @stream_selection
end

Class Method Details

.jsii_propertiesObject



796
797
798
799
800
801
802
803
804
805
# File 'media_package/cfn_packaging_configuration.rb', line 796

def self.jsii_properties
  {
    :manifest_layout => "manifestLayout",
    :manifest_name => "manifestName",
    :min_buffer_time_seconds => "minBufferTimeSeconds",
    :profile => "profile",
    :scte_markers_source => "scteMarkersSource",
    :stream_selection => "streamSelection",
  }
end

Instance Method Details

#to_jsiiObject



807
808
809
810
811
812
813
814
815
816
817
818
# File 'media_package/cfn_packaging_configuration.rb', line 807

def to_jsii
  result = {}
  result.merge!({
    "manifestLayout" => @manifest_layout,
    "manifestName" => @manifest_name,
    "minBufferTimeSeconds" => @min_buffer_time_seconds,
    "profile" => @profile,
    "scteMarkersSource" => @scte_markers_source,
    "streamSelection" => @stream_selection,
  })
  result.compact
end