public static interface CfnPackagingConfiguration.DashPackageProperty
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") .build()) .build()) .includeEncoderConfigurationInSegments(false) .periodTriggers(List.of("periodTriggers")) .segmentDurationSeconds(123) .segmentTemplateFormat("segmentTemplateFormat") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnPackagingConfiguration.DashPackageProperty.Builder
A builder for
CfnPackagingConfiguration.DashPackageProperty |
static class |
CfnPackagingConfiguration.DashPackageProperty.Jsii$Proxy
An implementation for
CfnPackagingConfiguration.DashPackageProperty |
Modifier and Type | Method and Description |
---|---|
static CfnPackagingConfiguration.DashPackageProperty.Builder |
builder() |
java.lang.Object |
getDashManifests()
A list of DASH manifest configurations that are available from this endpoint.
|
default java.lang.Object |
getEncryption()
Parameters for encrypting content.
|
default java.lang.Object |
getIncludeEncoderConfigurationInSegments()
When includeEncoderConfigurationInSegments is set to true, 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 java.util.List<java.lang.String> |
getPeriodTriggers()
Controls whether MediaPackage produces single-period or multi-period DASH manifests.
|
default java.lang.Number |
getSegmentDurationSeconds()
Duration (in seconds) of each fragment.
|
default java.lang.String |
getSegmentTemplateFormat()
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).
|
java.lang.Object getDashManifests()
default java.lang.Object getEncryption()
default java.lang.Object getIncludeEncoderConfigurationInSegments()
This lets you use different SPS/PPS/VPS settings for your assets during content playback.
default java.util.List<java.lang.String> getPeriodTriggers()
For more information about periods, see Multi-period DASH in AWS Elemental MediaPackage .
Valid values:
ADS
- MediaPackage will produce multi-period DASH manifests. Periods are created based on the SCTE-35 ad markers present in the input manifest.default java.lang.Number getSegmentDurationSeconds()
Actual fragments are rounded to the nearest multiple of the source segment duration.
default java.lang.String getSegmentTemplateFormat()
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.
static CfnPackagingConfiguration.DashPackageProperty.Builder builder()