Interface CfnPackagingConfiguration.DashPackageProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackagingConfiguration.DashPackageProperty.Jsii$Proxy
- Enclosing class:
CfnPackagingConfiguration
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() .presetSpeke20Audio("presetSpeke20Audio") .presetSpeke20Video("presetSpeke20Video") .build()) .build()) .build()) .includeEncoderConfigurationInSegments(false) .includeIframeOnlyStream(false) .periodTriggers(List.of("periodTriggers")) .segmentDurationSeconds(123) .segmentTemplateFormat("segmentTemplateFormat") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPackagingConfiguration.DashPackageProperty
static final class
An implementation forCfnPackagingConfiguration.DashPackageProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A list of DASH manifest configurations that are available from this endpoint.default Object
Parameters for encrypting content.default Object
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.default Object
This applies only to stream sets with a single video track.Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests.default Number
Duration (in seconds) of each fragment.default String
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDashManifests
A list of DASH manifest configurations that are available from this endpoint.- See Also:
-
getEncryption
Parameters for encrypting content.- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
getSegmentDurationSeconds
Duration (in seconds) of each fragment.Actual fragments are rounded to the nearest multiple of the source segment duration.
- See Also:
-
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 toTIME_WITH_TIMELINE
, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set toNUMBER_WITH_DURATION
, only a duration is included in each SegmentTemplate, with $Number$ media URLs.- See Also:
-
builder
-