public static interface DashPackage.Builder extends SdkPojo, CopyableBuilder<DashPackage.Builder,DashPackage>
| Modifier and Type | Method and Description |
|---|---|
DashPackage.Builder |
dashManifests(Collection<DashManifest> dashManifests)
A list of DASH manifest configurations.
|
DashPackage.Builder |
dashManifests(Consumer<DashManifest.Builder>... dashManifests)
A list of DASH manifest configurations.
|
DashPackage.Builder |
dashManifests(DashManifest... dashManifests)
A list of DASH manifest configurations.
|
default DashPackage.Builder |
encryption(Consumer<DashEncryption.Builder> encryption)
Sets the value of the Encryption property for this object.
|
DashPackage.Builder |
encryption(DashEncryption encryption)
Sets the value of the Encryption property for this object.
|
DashPackage.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.
|
DashPackage.Builder |
includeIframeOnlyStream(Boolean includeIframeOnlyStream)
When enabled, an I-Frame only stream will be included in the output.
|
DashPackage.Builder |
periodTriggers(Collection<PeriodTriggersElement> periodTriggers)
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods.
|
DashPackage.Builder |
periodTriggers(PeriodTriggersElement... periodTriggers)
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods.
|
DashPackage.Builder |
periodTriggersWithStrings(Collection<String> periodTriggers)
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods.
|
DashPackage.Builder |
periodTriggersWithStrings(String... periodTriggers)
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods.
|
DashPackage.Builder |
segmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each segment.
|
DashPackage.Builder |
segmentTemplateFormat(SegmentTemplateFormat segmentTemplateFormat)
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).
|
DashPackage.Builder |
segmentTemplateFormat(String segmentTemplateFormat)
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDashPackage.Builder dashManifests(Collection<DashManifest> dashManifests)
dashManifests - A list of DASH manifest configurations.DashPackage.Builder dashManifests(DashManifest... dashManifests)
dashManifests - A list of DASH manifest configurations.DashPackage.Builder dashManifests(Consumer<DashManifest.Builder>... dashManifests)
DashManifest.Builder avoiding the need to
create one manually via DashManifest.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #dashManifests(List.
dashManifests - a consumer that will call methods on
DashManifest.Builder#dashManifests(java.util.Collection) DashPackage.Builder encryption(DashEncryption encryption)
encryption - The new value for the Encryption property for this object.default DashPackage.Builder encryption(Consumer<DashEncryption.Builder> encryption)
DashEncryption.Builder avoiding the need
to create one manually via DashEncryption.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to encryption(DashEncryption).
encryption - a consumer that will call methods on DashEncryption.Builderencryption(DashEncryption)DashPackage.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.DashPackage.Builder includeIframeOnlyStream(Boolean includeIframeOnlyStream)
includeIframeOnlyStream - When enabled, an I-Frame only stream will be included in the output.DashPackage.Builder periodTriggersWithStrings(Collection<String> periodTriggers)
periodTriggers - A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will
not be partitioned into more than one period. If the list contains "ADS", new periods will be created
where the Asset contains SCTE-35 ad markers.DashPackage.Builder periodTriggersWithStrings(String... periodTriggers)
periodTriggers - A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will
not be partitioned into more than one period. If the list contains "ADS", new periods will be created
where the Asset contains SCTE-35 ad markers.DashPackage.Builder periodTriggers(Collection<PeriodTriggersElement> periodTriggers)
periodTriggers - A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will
not be partitioned into more than one period. If the list contains "ADS", new periods will be created
where the Asset contains SCTE-35 ad markers.DashPackage.Builder periodTriggers(PeriodTriggersElement... periodTriggers)
periodTriggers - A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media
Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will
not be partitioned into more than one period. If the list contains "ADS", new periods will be created
where the Asset contains SCTE-35 ad markers.DashPackage.Builder segmentDurationSeconds(Integer segmentDurationSeconds)
segmentDurationSeconds - Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the
source segment duration.DashPackage.Builder segmentTemplateFormat(String segmentTemplateFormat)
segmentTemplateFormat - Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set
to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media
URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with
$Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each
SegmentTemplate, with $Number$ media URLs.SegmentTemplateFormat,
SegmentTemplateFormatDashPackage.Builder segmentTemplateFormat(SegmentTemplateFormat segmentTemplateFormat)
segmentTemplateFormat - Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set
to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media
URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with
$Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each
SegmentTemplate, with $Number$ media URLs.SegmentTemplateFormat,
SegmentTemplateFormatCopyright © 2023. All rights reserved.