public static interface HlsPackage.Builder extends CopyableBuilder<HlsPackage.Builder,HlsPackage>
Modifier and Type | Method and Description |
---|---|
HlsPackage.Builder |
adMarkers(AdMarkers adMarkers)
This setting controls how ad markers are included in the packaged OriginEndpoint.
|
HlsPackage.Builder |
adMarkers(String adMarkers)
This setting controls how ad markers are included in the packaged OriginEndpoint.
|
default HlsPackage.Builder |
encryption(Consumer<HlsEncryption.Builder> encryption)
Sets the value of the Encryption property for this object.
|
HlsPackage.Builder |
encryption(HlsEncryption encryption)
Sets the value of the Encryption property for this object.
|
HlsPackage.Builder |
includeIframeOnlyStream(Boolean includeIframeOnlyStream)
When enabled, an I-Frame only stream will be included in the output.
|
HlsPackage.Builder |
playlistType(PlaylistType playlistType)
The HTTP Live Streaming (HLS) playlist type.
|
HlsPackage.Builder |
playlistType(String playlistType)
The HTTP Live Streaming (HLS) playlist type.
|
HlsPackage.Builder |
playlistWindowSeconds(Integer playlistWindowSeconds)
Time window (in seconds) contained in each parent manifest.
|
HlsPackage.Builder |
programDateTimeIntervalSeconds(Integer programDateTimeIntervalSeconds)
The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests.
|
HlsPackage.Builder |
segmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each fragment.
|
default HlsPackage.Builder |
streamSelection(Consumer<StreamSelection.Builder> streamSelection)
Sets the value of the StreamSelection property for this object.
|
HlsPackage.Builder |
streamSelection(StreamSelection streamSelection)
Sets the value of the StreamSelection property for this object.
|
HlsPackage.Builder |
useAudioRenditionGroup(Boolean useAudioRenditionGroup)
When enabled, audio streams will be placed in rendition groups in the output.
|
copy
applyMutation, build
HlsPackage.Builder adMarkers(String adMarkers)
adMarkers
- This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all
SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35
ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest.
"SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input
source.AdMarkers
,
AdMarkers
HlsPackage.Builder adMarkers(AdMarkers adMarkers)
adMarkers
- This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all
SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35
ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest.
"SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input
source.AdMarkers
,
AdMarkers
HlsPackage.Builder encryption(HlsEncryption encryption)
encryption
- The new value for the Encryption property for this object.default HlsPackage.Builder encryption(Consumer<HlsEncryption.Builder> encryption)
HlsEncryption.Builder
avoiding the need to
create one manually via HlsEncryption.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to encryption(HlsEncryption)
.encryption
- a consumer that will call methods on HlsEncryption.Builder
encryption(HlsEncryption)
HlsPackage.Builder includeIframeOnlyStream(Boolean includeIframeOnlyStream)
includeIframeOnlyStream
- When enabled, an I-Frame only stream will be included in the output.HlsPackage.Builder playlistType(String playlistType)
playlistType
- The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a
corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.PlaylistType
,
PlaylistType
HlsPackage.Builder playlistType(PlaylistType playlistType)
playlistType
- The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a
corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.PlaylistType
,
PlaylistType
HlsPackage.Builder playlistWindowSeconds(Integer playlistWindowSeconds)
playlistWindowSeconds
- Time window (in seconds) contained in each parent manifest.HlsPackage.Builder programDateTimeIntervalSeconds(Integer programDateTimeIntervalSeconds)
programDateTimeIntervalSeconds
- The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests.
Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5
seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no
EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be
generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live
Streaming (HLS) input, it will be passed through to HLS output.HlsPackage.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.HlsPackage.Builder streamSelection(StreamSelection streamSelection)
streamSelection
- The new value for the StreamSelection property for this object.default HlsPackage.Builder streamSelection(Consumer<StreamSelection.Builder> streamSelection)
StreamSelection.Builder
avoiding the need to
create one manually via StreamSelection.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to streamSelection(StreamSelection)
.streamSelection
- a consumer that will call methods on StreamSelection.Builder
streamSelection(StreamSelection)
HlsPackage.Builder useAudioRenditionGroup(Boolean useAudioRenditionGroup)
useAudioRenditionGroup
- When enabled, audio streams will be placed in rendition groups in the output.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.