public static interface Segment.Builder extends SdkPojo, CopyableBuilder<Segment.Builder,Segment>
| Modifier and Type | Method and Description |
|---|---|
default Segment.Builder |
encryption(Consumer<Encryption.Builder> encryption)
Sets the value of the Encryption property for this object.
|
Segment.Builder |
encryption(Encryption encryption)
Sets the value of the Encryption property for this object.
|
Segment.Builder |
includeIframeOnlyStreams(Boolean includeIframeOnlyStreams)
When selected, the stream set includes an additional I-frame only stream, along with the other tracks.
|
default Segment.Builder |
scte(Consumer<Scte.Builder> scte)
The SCTE configuration options in the segment settings.
|
Segment.Builder |
scte(Scte scte)
The SCTE configuration options in the segment settings.
|
Segment.Builder |
segmentDurationSeconds(Integer segmentDurationSeconds)
The duration (in seconds) of each segment.
|
Segment.Builder |
segmentName(String segmentName)
The name that describes the segment.
|
Segment.Builder |
tsIncludeDvbSubtitles(Boolean tsIncludeDvbSubtitles)
By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output.
|
Segment.Builder |
tsUseAudioRenditionGroup(Boolean tsUseAudioRenditionGroup)
When selected, MediaPackage bundles all audio tracks in a rendition group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSegment.Builder segmentDurationSeconds(Integer segmentDurationSeconds)
The duration (in seconds) of each segment. Enter a value equal to, or a multiple of, the input segment duration. If the value that you enter is different from the input segment duration, MediaPackage rounds segments to the nearest multiple of the input segment duration.
segmentDurationSeconds - The duration (in seconds) of each segment. Enter a value equal to, or a multiple of, the input segment
duration. If the value that you enter is different from the input segment duration, MediaPackage
rounds segments to the nearest multiple of the input segment duration.Segment.Builder segmentName(String segmentName)
The name that describes the segment. The name is the base name of the segment used in all content manifests inside of the endpoint. You can't use spaces in the name.
segmentName - The name that describes the segment. The name is the base name of the segment used in all content
manifests inside of the endpoint. You can't use spaces in the name.Segment.Builder tsUseAudioRenditionGroup(Boolean tsUseAudioRenditionGroup)
When selected, MediaPackage bundles all audio tracks in a rendition group. All other tracks in the stream can be used with any audio rendition from the group.
tsUseAudioRenditionGroup - When selected, MediaPackage bundles all audio tracks in a rendition group. All other tracks in the
stream can be used with any audio rendition from the group.Segment.Builder includeIframeOnlyStreams(Boolean includeIframeOnlyStreams)
When selected, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included. MediaPackage generates an I-frame only stream from the first rendition in the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest, and then generates and includes an I-frames only playlist in the stream. This playlist permits player functionality like fast forward and rewind.
includeIframeOnlyStreams - When selected, the stream set includes an additional I-frame only stream, along with the other tracks.
If false, this extra stream is not included. MediaPackage generates an I-frame only stream from the
first rendition in the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest,
and then generates and includes an I-frames only playlist in the stream. This playlist permits player
functionality like fast forward and rewind.Segment.Builder tsIncludeDvbSubtitles(Boolean tsIncludeDvbSubtitles)
By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When selected, MediaPackage passes through DVB subtitles into the output.
tsIncludeDvbSubtitles - By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When
selected, MediaPackage passes through DVB subtitles into the output.Segment.Builder scte(Scte scte)
The SCTE configuration options in the segment settings.
scte - The SCTE configuration options in the segment settings.default Segment.Builder scte(Consumer<Scte.Builder> scte)
The SCTE configuration options in the segment settings.
This is a convenience method that creates an instance of theScte.Builder avoiding the need to create
one manually via Scte.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to scte(Scte).
scte - a consumer that will call methods on Scte.Builderscte(Scte)Segment.Builder encryption(Encryption encryption)
encryption - The new value for the Encryption property for this object.default Segment.Builder encryption(Consumer<Encryption.Builder> encryption)
Encryption.Builder avoiding the need to
create one manually via Encryption.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to encryption(Encryption).
encryption - a consumer that will call methods on Encryption.Builderencryption(Encryption)Copyright © 2023. All rights reserved.