Interface CfnPackagingConfiguration.DashPackageProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPackagingConfiguration.DashPackageProperty.Jsii$Proxy
Enclosing class:
CfnPackagingConfiguration

@Stability(Stable) public static interface CfnPackagingConfiguration.DashPackageProperty extends software.amazon.jsii.JsiiSerializable
Parameters for a packaging configuration that uses Dynamic Adaptive Streaming over HTTP (DASH) packaging.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.mediapackage.*;
 DashPackageProperty dashPackageProperty = DashPackageProperty.builder()
         .dashManifests(List.of(DashManifestProperty.builder()
                 .manifestLayout("manifestLayout")
                 .manifestName("manifestName")
                 .minBufferTimeSeconds(123)
                 .profile("profile")
                 .scteMarkersSource("scteMarkersSource")
                 .streamSelection(StreamSelectionProperty.builder()
                         .maxVideoBitsPerSecond(123)
                         .minVideoBitsPerSecond(123)
                         .streamOrder("streamOrder")
                         .build())
                 .build()))
         // the properties below are optional
         .encryption(DashEncryptionProperty.builder()
                 .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                         .roleArn("roleArn")
                         .systemIds(List.of("systemIds"))
                         .url("url")
                         // the properties below are optional
                         .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder().build())
                         .build())
                 .build())
         .includeEncoderConfigurationInSegments(false)
         .includeIframeOnlyStream(false)
         .periodTriggers(List.of("periodTriggers"))
         .segmentDurationSeconds(123)
         .segmentTemplateFormat("segmentTemplateFormat")
         .build();
 
  • Method Details

    • getDashManifests

      @Stability(Stable) @NotNull Object getDashManifests()
      A list of DASH manifest configurations that are available from this endpoint.
    • getEncryption

      @Stability(Stable) @Nullable default Object getEncryption()
      Parameters for encrypting content.
    • getIncludeEncoderConfigurationInSegments

      @Stability(Stable) @Nullable default Object getIncludeEncoderConfigurationInSegments()
      When includeEncoderConfigurationInSegments is set to true, AWS Elemental MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment.

      This lets you use different SPS/PPS/VPS settings for your assets during content playback.

    • getIncludeIframeOnlyStream

      @Stability(Stable) @Nullable default Object getIncludeIframeOnlyStream()
      This applies only to stream sets with a single video track.

      When true, the stream set includes an additional I-frame trick-play only stream, along with the other tracks. If false, this extra stream is not included.

    • getPeriodTriggers

      @Stability(Stable) @Nullable default List<String> getPeriodTriggers()
      Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests.

      For more information about periods, see Multi-period DASH in AWS Elemental MediaPackage .

      Valid values:

      • ADS - AWS Elemental MediaPackage will produce multi-period DASH manifests. Periods are created based on the SCTE-35 ad markers present in the input manifest.
      • No value - AWS Elemental MediaPackage will produce single-period DASH manifests. This is the default setting.
    • getSegmentDurationSeconds

      @Stability(Stable) @Nullable default Number getSegmentDurationSeconds()
      Duration (in seconds) of each fragment.

      Actual fragments are rounded to the nearest multiple of the source segment duration.

    • getSegmentTemplateFormat

      @Stability(Stable) @Nullable default String getSegmentTemplateFormat()
      Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).

      When set to NUMBER_WITH_TIMELINE , a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE , a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION , only a duration is included in each SegmentTemplate, with $Number$ media URLs.

    • builder

      @Stability(Stable) static CfnPackagingConfiguration.DashPackageProperty.Builder builder()
      Returns:
      a CfnPackagingConfiguration.DashPackageProperty.Builder of CfnPackagingConfiguration.DashPackageProperty