public static interface CmafPackage.Builder extends SdkPojo, CopyableBuilder<CmafPackage.Builder,CmafPackage>
| Modifier and Type | Method and Description |
|---|---|
CmafPackage.Builder |
encryption(CmafEncryption encryption)
Sets the value of the Encryption property for this object.
|
default CmafPackage.Builder |
encryption(Consumer<CmafEncryption.Builder> encryption)
Sets the value of the Encryption property for this object.
|
CmafPackage.Builder |
hlsManifests(Collection<HlsManifest> hlsManifests)
A list of HLS manifest configurations.
|
CmafPackage.Builder |
hlsManifests(Consumer<HlsManifest.Builder>... hlsManifests)
A list of HLS manifest configurations.
|
CmafPackage.Builder |
hlsManifests(HlsManifest... hlsManifests)
A list of HLS manifest configurations.
|
CmafPackage.Builder |
includeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments)
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.
|
CmafPackage.Builder |
segmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each fragment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCmafPackage.Builder encryption(CmafEncryption encryption)
encryption - The new value for the Encryption property for this object.default CmafPackage.Builder encryption(Consumer<CmafEncryption.Builder> encryption)
CmafEncryption.Builder avoiding the need
to create one manually via CmafEncryption.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to encryption(CmafEncryption).
encryption - a consumer that will call methods on CmafEncryption.Builderencryption(CmafEncryption)CmafPackage.Builder hlsManifests(Collection<HlsManifest> hlsManifests)
hlsManifests - A list of HLS manifest configurations.CmafPackage.Builder hlsManifests(HlsManifest... hlsManifests)
hlsManifests - A list of HLS manifest configurations.CmafPackage.Builder hlsManifests(Consumer<HlsManifest.Builder>... hlsManifests)
HlsManifest.Builder avoiding the need to create
one manually via HlsManifest.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #hlsManifests(List.
hlsManifests - a consumer that will call methods on
HlsManifest.Builder#hlsManifests(java.util.Collection) CmafPackage.Builder includeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments)
includeEncoderConfigurationInSegments - 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. This lets you use different SPS/PPS/VPS settings for
your assets during content playback.CmafPackage.Builder segmentDurationSeconds(Integer segmentDurationSeconds)
segmentDurationSeconds - Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of
the source fragment duration.Copyright © 2023. All rights reserved.