@Stability(value=Stable)
public static interface CfnOriginEndpoint.HlsPackageProperty
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.*;
HlsPackageProperty hlsPackageProperty = HlsPackageProperty.builder()
.adMarkers("adMarkers")
.adsOnDeliveryRestrictions("adsOnDeliveryRestrictions")
.adTriggers(List.of("adTriggers"))
.encryption(HlsEncryptionProperty.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
.constantInitializationVector("constantInitializationVector")
.encryptionMethod("encryptionMethod")
.keyRotationIntervalSeconds(123)
.repeatExtXKey(false)
.build())
.includeIframeOnlyStream(false)
.playlistType("playlistType")
.playlistWindowSeconds(123)
.programDateTimeIntervalSeconds(123)
.segmentDurationSeconds(123)
.streamSelection(StreamSelectionProperty.builder()
.maxVideoBitsPerSecond(123)
.minVideoBitsPerSecond(123)
.streamOrder("streamOrder")
.build())
.useAudioRenditionGroup(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnOriginEndpoint.HlsPackageProperty.Builder
A builder for
CfnOriginEndpoint.HlsPackageProperty |
static class |
CfnOriginEndpoint.HlsPackageProperty.Jsii$Proxy
An implementation for
CfnOriginEndpoint.HlsPackageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnOriginEndpoint.HlsPackageProperty.Builder |
builder() |
default String |
getAdMarkers()
Controls how ad markers are included in the packaged endpoint.
|
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()
Only applies to stream sets with a single video track.
|
default String |
getPlaylistType()
When specified as either `event` or `vod` , a corresponding `EXT-X-PLAYLIST-TYPE` entry is included in the media playlist.
|
default Number |
getPlaylistWindowSeconds()
Time window (in seconds) contained in each parent manifest.
|
default Number |
getProgramDateTimeIntervalSeconds()
Inserts `EXT-X-PROGRAM-DATE-TIME` tags in the output manifest at the interval that you specify.
|
default Number |
getSegmentDurationSeconds()
Duration (in seconds) of each fragment.
|
default Object |
getStreamSelection()
Limitations for outputs from the endpoint, based on the video bitrate.
|
default Object |
getUseAudioRenditionGroup()
When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group.
|
@Stability(value=Stable) @Nullable default String getAdMarkers()
Valid values are none , passthrough , or scte35_enhanced .
NONE - omits all SCTE-35 ad markers from the output.PASSTHROUGH - creates a copy in the output of the SCTE-35 ad markers (comments) taken directly from the input manifest.SCTE35_ENHANCED - generates ad markers and blackout tags in the output based on the SCTE-35 messages from the input manifest.@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_OPPORTUNITYDISTRIBUTOR_PLACEMENT_OPPORTUNITYPROVIDER_ADVERTISEMENTPROVIDER_OVERLAY_PLACEMENT_OPPORTUNITYPROVIDER_PLACEMENT_OPPORTUNITYSPLICE_INSERT@Stability(value=Stable) @Nullable default Object getEncryption()
@Stability(value=Stable) @Nullable default Object getIncludeIframeOnlyStream()
When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included.
@Stability(value=Stable) @Nullable default String getPlaylistType()
Indicates if the playlist is live-to-VOD content.
@Stability(value=Stable) @Nullable default Number getPlaylistWindowSeconds()
@Stability(value=Stable) @Nullable default Number getProgramDateTimeIntervalSeconds()
Additionally, ID3Timed metadata messages are generated every 5 seconds starting when the content was ingested.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
Omit this attribute or enter 0 to indicate that the EXT-X-PROGRAM-DATE-TIME tags are not included in the manifest.
@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 Object getStreamSelection()
@Stability(value=Stable) @Nullable default Object getUseAudioRenditionGroup()
All other tracks in the stream can be used with any audio rendition from the group.
@Stability(value=Stable) static CfnOriginEndpoint.HlsPackageProperty.Builder builder()
Copyright © 2022. All rights reserved.