@Stability(value=Stable)
public static interface CfnPackagingConfiguration.CmafPackageProperty
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.*;
CmafPackageProperty cmafPackageProperty = CmafPackageProperty.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(CmafEncryptionProperty.builder()
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
.build())
.build())
.includeEncoderConfigurationInSegments(false)
.segmentDurationSeconds(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPackagingConfiguration.CmafPackageProperty.Builder
A builder for
CfnPackagingConfiguration.CmafPackageProperty |
static class |
CfnPackagingConfiguration.CmafPackageProperty.Jsii$Proxy
An implementation for
CfnPackagingConfiguration.CmafPackageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPackagingConfiguration.CmafPackageProperty.Builder |
builder() |
default Object |
getEncryption()
Parameters for encrypting content.
|
Object |
getHlsManifests()
A list of HLS manifest configurations that are available from this endpoint.
|
default 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 Number |
getSegmentDurationSeconds()
Duration (in seconds) of each segment.
|
@Stability(value=Stable) @NotNull Object getHlsManifests()
@Stability(value=Stable) @Nullable default Object getEncryption()
@Stability(value=Stable) @Nullable default Object getIncludeEncoderConfigurationInSegments()
This lets you use different SPS/PPS/VPS settings for your assets during content playback.
@Stability(value=Stable) @Nullable default Number getSegmentDurationSeconds()
Actual segments are rounded to the nearest multiple of the source fragment duration.
@Stability(value=Stable) static CfnPackagingConfiguration.CmafPackageProperty.Builder builder()
Copyright © 2022. All rights reserved.