aws-cdk-lib.aws_mediapackage.CfnPackagingConfiguration.DashPackageProperty

interface DashPackageProperty

LanguageType name
.NETAmazon.CDK.AWS.MediaPackage.CfnPackagingConfiguration.DashPackageProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmediapackage#CfnPackagingConfiguration_DashPackageProperty
Javasoftware.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.DashPackageProperty
Pythonaws_cdk.aws_mediapackage.CfnPackagingConfiguration.DashPackageProperty
TypeScript aws-cdk-lib » aws_mediapackage » CfnPackagingConfiguration » DashPackageProperty

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 { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const dashPackageProperty: mediapackage.CfnPackagingConfiguration.DashPackageProperty = {
  dashManifests: [{
    manifestLayout: 'manifestLayout',
    manifestName: 'manifestName',
    minBufferTimeSeconds: 123,
    profile: 'profile',
    scteMarkersSource: 'scteMarkersSource',
    streamSelection: {
      maxVideoBitsPerSecond: 123,
      minVideoBitsPerSecond: 123,
      streamOrder: 'streamOrder',
    },
  }],

  // the properties below are optional
  encryption: {
    spekeKeyProvider: {
      roleArn: 'roleArn',
      systemIds: ['systemIds'],
      url: 'url',

      // the properties below are optional
      encryptionContractConfiguration: { },
    },
  },
  includeEncoderConfigurationInSegments: false,
  includeIframeOnlyStream: false,
  periodTriggers: ['periodTriggers'],
  segmentDurationSeconds: 123,
  segmentTemplateFormat: 'segmentTemplateFormat',
};

Properties

NameTypeDescription
dashManifestsIResolvable | IResolvable | DashManifestProperty[]A list of DASH manifest configurations that are available from this endpoint.
encryption?IResolvable | DashEncryptionPropertyParameters for encrypting content.
includeEncoderConfigurationInSegments?boolean | IResolvableWhen 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.
includeIframeOnlyStream?boolean | IResolvableThis applies only to stream sets with a single video track.
periodTriggers?string[]Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests.
segmentDurationSeconds?numberDuration (in seconds) of each fragment.
segmentTemplateFormat?stringDetermines the type of SegmentTemplate included in the Media Presentation Description (MPD).

dashManifests

Type: IResolvable | IResolvable | DashManifestProperty[]

A list of DASH manifest configurations that are available from this endpoint.


encryption?

Type: IResolvable | DashEncryptionProperty (optional)

Parameters for encrypting content.


includeEncoderConfigurationInSegments?

Type: boolean | IResolvable (optional)

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.


includeIframeOnlyStream?

Type: boolean | IResolvable (optional)

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.


periodTriggers?

Type: string[] (optional)

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.

segmentDurationSeconds?

Type: number (optional)

Duration (in seconds) of each fragment.

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


segmentTemplateFormat?

Type: string (optional)

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.