@Stability(value=Stable)
public static interface CfnOriginEndpoint.DashPackageProperty
extends software.amazon.jsii.JsiiSerializable
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()
.adsOnDeliveryRestrictions("adsOnDeliveryRestrictions")
.adTriggers(List.of("adTriggers"))
.encryption(DashEncryptionProperty.builder()
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.resourceId("resourceId")
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
// the properties below are optional
.certificateArn("certificateArn")
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.build())
// the properties below are optional
.keyRotationIntervalSeconds(123)
.build())
.includeIframeOnlyStream(false)
.manifestLayout("manifestLayout")
.manifestWindowSeconds(123)
.minBufferTimeSeconds(123)
.minUpdatePeriodSeconds(123)
.periodTriggers(List.of("periodTriggers"))
.profile("profile")
.segmentDurationSeconds(123)
.segmentTemplateFormat("segmentTemplateFormat")
.streamSelection(StreamSelectionProperty.builder()
.maxVideoBitsPerSecond(123)
.minVideoBitsPerSecond(123)
.streamOrder("streamOrder")
.build())
.suggestedPresentationDelaySeconds(123)
.utcTiming("utcTiming")
.utcTimingUri("utcTimingUri")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnOriginEndpoint.DashPackageProperty.Builder
A builder for
CfnOriginEndpoint.DashPackageProperty |
static class |
CfnOriginEndpoint.DashPackageProperty.Jsii$Proxy
An implementation for
CfnOriginEndpoint.DashPackageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnOriginEndpoint.DashPackageProperty.Builder |
builder() |
default String |
getAdsOnDeliveryRestrictions()
The flags on SCTE-35 segmentation descriptors that have to be present for MediaPackage to insert ad markers in the output manifest.
|
default List<String> |
getAdTriggers()
Specifies the SCTE-35 message types that MediaPackage treats as ad markers in the output manifest.
|
default Object |
getEncryption()
Parameters for encrypting content.
|
default Object |
getIncludeIframeOnlyStream()
`CfnOriginEndpoint.DashPackageProperty.IncludeIframeOnlyStream`.
|
default String |
getManifestLayout()
Determines the position of some tags in the manifest.
|
default Number |
getManifestWindowSeconds()
Time window (in seconds) contained in each manifest.
|
default Number |
getMinBufferTimeSeconds()
Minimum amount of content (measured in seconds) that a player must keep available in the buffer.
|
default Number |
getMinUpdatePeriodSeconds()
Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
|
default List<String> |
getPeriodTriggers()
Controls whether MediaPackage produces single-period or multi-period DASH manifests.
|
default String |
getProfile()
DASH profile for the output, such as HbbTV.
|
default Number |
getSegmentDurationSeconds()
Duration (in seconds) of each fragment.
|
default String |
getSegmentTemplateFormat()
Determines the type of variable used in the `media` URL of the `SegmentTemplate` tag in the manifest.
|
default Object |
getStreamSelection()
Limitations for outputs from the endpoint, based on the video bitrate.
|
default Number |
getSuggestedPresentationDelaySeconds()
Amount of time (in seconds) that the player should be from the live point at the end of the manifest.
|
default String |
getUtcTiming()
Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
|
default String |
getUtcTimingUri()
Specifies the value attribute of the UTC timing field when utcTiming is set to HTTP-ISO or HTTP-HEAD.
|
@Stability(value=Stable) @Nullable default String getAdsOnDeliveryRestrictions()
For information about SCTE-35 in MediaPackage, see SCTE-35 Message Options in AWS Elemental MediaPackage .
@Stability(value=Stable) @Nullable default List<String> getAdTriggers()
Valid values:
BREAKDISTRIBUTOR_ADVERTISEMENTDISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY .DISTRIBUTOR_PLACEMENT_OPPORTUNITY .PROVIDER_ADVERTISEMENT .PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY .PROVIDER_PLACEMENT_OPPORTUNITY .SPLICE_INSERT .@Stability(value=Stable) @Nullable default Object getEncryption()
@Stability(value=Stable) @Nullable default Object getIncludeIframeOnlyStream()
@Stability(value=Stable) @Nullable default String getManifestLayout()
Options:
FULL - elements like SegmentTemplate and ContentProtection are included in each Representation .COMPACT - duplicate elements are combined and presented at the AdaptationSet level.@Stability(value=Stable) @Nullable default Number getManifestWindowSeconds()
@Stability(value=Stable) @Nullable default Number getMinBufferTimeSeconds()
@Stability(value=Stable) @Nullable default Number getMinUpdatePeriodSeconds()
@Stability(value=Stable) @Nullable default List<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.@Stability(value=Stable) @Nullable default String getProfile()
Valid values:
NONE - the output doesn't use a DASH profile.HBBTV_1_5 - the output is HbbTV-compliant.@Stability(value=Stable) @Nullable default Number getSegmentDurationSeconds()
Actual fragments are rounded to the nearest multiple of the source fragment duration.
@Stability(value=Stable) @Nullable default String getSegmentTemplateFormat()
Also specifies if segment timeline information is included in SegmentTimeline or SegmentTemplate .
NUMBER_WITH_TIMELINE - The $Number$ variable is used in the media URL. The value of this variable is the sequential number of the segment. A full SegmentTimeline object is presented in each SegmentTemplate .NUMBER_WITH_DURATION - The $Number$ variable is used in the media URL and a duration attribute is added to the segment template. The SegmentTimeline object is removed from the representation.TIME_WITH_TIMELINE - The $Time$ variable is used in the media URL. The value of this variable is the timestamp of when the segment starts. A full SegmentTimeline object is presented in each SegmentTemplate .@Stability(value=Stable) @Nullable default Object getStreamSelection()
@Stability(value=Stable) @Nullable default Number getSuggestedPresentationDelaySeconds()
@Stability(value=Stable) @Nullable default String getUtcTiming()
@Stability(value=Stable) @Nullable default String getUtcTimingUri()
@Stability(value=Stable) static CfnOriginEndpoint.DashPackageProperty.Builder builder()
Copyright © 2022. All rights reserved.