@Stability(value=Stable)
public static interface CfnPackagingConfiguration.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()
.hlsManifests(List.of(HlsManifestProperty.builder()
.adMarkers("adMarkers")
.includeIframeOnlyStream(false)
.manifestName("manifestName")
.programDateTimeIntervalSeconds(123)
.repeatExtXKey(false)
.streamSelection(StreamSelectionProperty.builder()
.maxVideoBitsPerSecond(123)
.minVideoBitsPerSecond(123)
.streamOrder("streamOrder")
.build())
.build()))
// the properties below are optional
.encryption(HlsEncryptionProperty.builder()
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
.build())
// the properties below are optional
.constantInitializationVector("constantInitializationVector")
.encryptionMethod("encryptionMethod")
.build())
.segmentDurationSeconds(123)
.useAudioRenditionGroup(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPackagingConfiguration.HlsPackageProperty.Builder
A builder for
CfnPackagingConfiguration.HlsPackageProperty |
static class |
CfnPackagingConfiguration.HlsPackageProperty.Jsii$Proxy
An implementation for
CfnPackagingConfiguration.HlsPackageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPackagingConfiguration.HlsPackageProperty.Builder |
builder() |
default Object |
getEncryption()
Parameters for encrypting content.
|
Object |
getHlsManifests()
A list of HLS manifest configurations that are available from this endpoint.
|
default Number |
getSegmentDurationSeconds()
Duration (in seconds) of each fragment.
|
default Object |
getUseAudioRenditionGroup()
When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group.
|
@Stability(value=Stable) @NotNull Object getHlsManifests()
@Stability(value=Stable) @Nullable default Object getEncryption()
@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 getUseAudioRenditionGroup()
All other tracks in the stream can be used with any audio rendition from the group.
@Stability(value=Stable) static CfnPackagingConfiguration.HlsPackageProperty.Builder builder()
Copyright © 2022. All rights reserved.