public static interface HlsGroupSettings.Builder extends SdkPojo, CopyableBuilder<HlsGroupSettings.Builder,HlsGroupSettings>
| Modifier and Type | Method and Description |
|---|---|
HlsGroupSettings.Builder |
additionalManifests(Collection<HlsAdditionalManifest> additionalManifests)
By default, the service creates one top-level .m3u8 HLS manifest for each HLS output group in your job.
|
HlsGroupSettings.Builder |
additionalManifests(Consumer<HlsAdditionalManifest.Builder>... additionalManifests)
By default, the service creates one top-level .m3u8 HLS manifest for each HLS output group in your job.
|
HlsGroupSettings.Builder |
additionalManifests(HlsAdditionalManifest... additionalManifests)
By default, the service creates one top-level .m3u8 HLS manifest for each HLS output group in your job.
|
HlsGroupSettings.Builder |
adMarkers(Collection<HlsAdMarkers> adMarkers)
Choose one or more ad marker types to decorate your Apple HLS manifest.
|
HlsGroupSettings.Builder |
adMarkers(HlsAdMarkers... adMarkers)
Choose one or more ad marker types to decorate your Apple HLS manifest.
|
HlsGroupSettings.Builder |
adMarkersWithStrings(Collection<String> adMarkers)
Choose one or more ad marker types to decorate your Apple HLS manifest.
|
HlsGroupSettings.Builder |
adMarkersWithStrings(String... adMarkers)
Choose one or more ad marker types to decorate your Apple HLS manifest.
|
HlsGroupSettings.Builder |
audioOnlyHeader(HlsAudioOnlyHeader audioOnlyHeader)
Ignore this setting unless you are using FairPlay DRM with Verimatrix and you encounter playback issues.
|
HlsGroupSettings.Builder |
audioOnlyHeader(String audioOnlyHeader)
Ignore this setting unless you are using FairPlay DRM with Verimatrix and you encounter playback issues.
|
HlsGroupSettings.Builder |
baseUrl(String baseUrl)
A partial URI prefix that will be prepended to each output in the media .m3u8 file.
|
HlsGroupSettings.Builder |
captionLanguageMappings(Collection<HlsCaptionLanguageMapping> captionLanguageMappings)
Language to be used on Caption outputs
|
HlsGroupSettings.Builder |
captionLanguageMappings(Consumer<HlsCaptionLanguageMapping.Builder>... captionLanguageMappings)
Language to be used on Caption outputs This is a convenience that creates an instance of the
avoiding the need to create one manually via . |
HlsGroupSettings.Builder |
captionLanguageMappings(HlsCaptionLanguageMapping... captionLanguageMappings)
Language to be used on Caption outputs
|
HlsGroupSettings.Builder |
captionLanguageSetting(HlsCaptionLanguageSetting captionLanguageSetting)
Applies only to 608 Embedded output captions.
|
HlsGroupSettings.Builder |
captionLanguageSetting(String captionLanguageSetting)
Applies only to 608 Embedded output captions.
|
HlsGroupSettings.Builder |
clientCache(HlsClientCache clientCache)
Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag.
|
HlsGroupSettings.Builder |
clientCache(String clientCache)
Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag.
|
HlsGroupSettings.Builder |
codecSpecification(HlsCodecSpecification codecSpecification)
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
HlsGroupSettings.Builder |
codecSpecification(String codecSpecification)
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
HlsGroupSettings.Builder |
destination(String destination)
Use Destination (Destination) to specify the S3 output location and the output filename base.
|
default HlsGroupSettings.Builder |
destinationSettings(Consumer<DestinationSettings.Builder> destinationSettings)
Settings associated with the destination.
|
HlsGroupSettings.Builder |
destinationSettings(DestinationSettings destinationSettings)
Settings associated with the destination.
|
HlsGroupSettings.Builder |
directoryStructure(HlsDirectoryStructure directoryStructure)
Indicates whether segments should be placed in subdirectories.
|
HlsGroupSettings.Builder |
directoryStructure(String directoryStructure)
Indicates whether segments should be placed in subdirectories.
|
default HlsGroupSettings.Builder |
encryption(Consumer<HlsEncryptionSettings.Builder> encryption)
DRM settings.
|
HlsGroupSettings.Builder |
encryption(HlsEncryptionSettings encryption)
DRM settings.
|
HlsGroupSettings.Builder |
manifestCompression(HlsManifestCompression manifestCompression)
When set to GZIP, compresses HLS playlist.
|
HlsGroupSettings.Builder |
manifestCompression(String manifestCompression)
When set to GZIP, compresses HLS playlist.
|
HlsGroupSettings.Builder |
manifestDurationFormat(HlsManifestDurationFormat manifestDurationFormat)
Indicates whether the output manifest should use floating point values for segment duration.
|
HlsGroupSettings.Builder |
manifestDurationFormat(String manifestDurationFormat)
Indicates whether the output manifest should use floating point values for segment duration.
|
HlsGroupSettings.Builder |
minFinalSegmentLength(Double minFinalSegmentLength)
Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play
back the end of your video asset.
|
HlsGroupSettings.Builder |
minSegmentLength(Integer minSegmentLength)
When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby
avail and extending the segment size if needed.
|
HlsGroupSettings.Builder |
outputSelection(HlsOutputSelection outputSelection)
Indicates whether the .m3u8 manifest file should be generated for this HLS output group.
|
HlsGroupSettings.Builder |
outputSelection(String outputSelection)
Indicates whether the .m3u8 manifest file should be generated for this HLS output group.
|
HlsGroupSettings.Builder |
programDateTime(HlsProgramDateTime programDateTime)
Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files.
|
HlsGroupSettings.Builder |
programDateTime(String programDateTime)
Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files.
|
HlsGroupSettings.Builder |
programDateTimePeriod(Integer programDateTimePeriod)
Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.
|
HlsGroupSettings.Builder |
segmentControl(HlsSegmentControl segmentControl)
When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE tags to
index segment for playback.
|
HlsGroupSettings.Builder |
segmentControl(String segmentControl)
When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE tags to
index segment for playback.
|
HlsGroupSettings.Builder |
segmentLength(Integer segmentLength)
Length of MPEG-2 Transport Stream segments to create (in seconds).
|
HlsGroupSettings.Builder |
segmentsPerSubdirectory(Integer segmentsPerSubdirectory)
Number of segments to write to a subdirectory before starting a new one.
|
HlsGroupSettings.Builder |
streamInfResolution(HlsStreamInfResolution streamInfResolution)
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
HlsGroupSettings.Builder |
streamInfResolution(String streamInfResolution)
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
HlsGroupSettings.Builder |
timedMetadataId3Frame(HlsTimedMetadataId3Frame timedMetadataId3Frame)
Indicates ID3 frame that has the timecode.
|
HlsGroupSettings.Builder |
timedMetadataId3Frame(String timedMetadataId3Frame)
Indicates ID3 frame that has the timecode.
|
HlsGroupSettings.Builder |
timedMetadataId3Period(Integer timedMetadataId3Period)
Timed Metadata interval in seconds.
|
HlsGroupSettings.Builder |
timestampDeltaMilliseconds(Integer timestampDeltaMilliseconds)
Provides an extra millisecond delta offset to fine tune the timestamps.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHlsGroupSettings.Builder adMarkersWithStrings(Collection<String> adMarkers)
adMarkers - Choose one or more ad marker types to decorate your Apple HLS manifest. This setting does not
determine whether SCTE-35 markers appear in the outputs themselves.HlsGroupSettings.Builder adMarkersWithStrings(String... adMarkers)
adMarkers - Choose one or more ad marker types to decorate your Apple HLS manifest. This setting does not
determine whether SCTE-35 markers appear in the outputs themselves.HlsGroupSettings.Builder adMarkers(Collection<HlsAdMarkers> adMarkers)
adMarkers - Choose one or more ad marker types to decorate your Apple HLS manifest. This setting does not
determine whether SCTE-35 markers appear in the outputs themselves.HlsGroupSettings.Builder adMarkers(HlsAdMarkers... adMarkers)
adMarkers - Choose one or more ad marker types to decorate your Apple HLS manifest. This setting does not
determine whether SCTE-35 markers appear in the outputs themselves.HlsGroupSettings.Builder additionalManifests(Collection<HlsAdditionalManifest> additionalManifests)
additionalManifests - By default, the service creates one top-level .m3u8 HLS manifest for each HLS output group in your
job. This default manifest references every output in the output group. To create additional top-level
manifests that reference a subset of the outputs in the output group, specify a list of them here.HlsGroupSettings.Builder additionalManifests(HlsAdditionalManifest... additionalManifests)
additionalManifests - By default, the service creates one top-level .m3u8 HLS manifest for each HLS output group in your
job. This default manifest references every output in the output group. To create additional top-level
manifests that reference a subset of the outputs in the output group, specify a list of them here.HlsGroupSettings.Builder additionalManifests(Consumer<HlsAdditionalManifest.Builder>... additionalManifests)
List.Builder avoiding the need to create one
manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #additionalManifests(List) .additionalManifests - a consumer that will call methods on List.Builder #additionalManifests(List) HlsGroupSettings.Builder audioOnlyHeader(String audioOnlyHeader)
audioOnlyHeader - Ignore this setting unless you are using FairPlay DRM with Verimatrix and you encounter playback
issues. Keep the default value, Include (INCLUDE), to output audio-only headers. Choose Exclude
(EXCLUDE) to remove the audio-only headers from your audio segments.HlsAudioOnlyHeader,
HlsAudioOnlyHeaderHlsGroupSettings.Builder audioOnlyHeader(HlsAudioOnlyHeader audioOnlyHeader)
audioOnlyHeader - Ignore this setting unless you are using FairPlay DRM with Verimatrix and you encounter playback
issues. Keep the default value, Include (INCLUDE), to output audio-only headers. Choose Exclude
(EXCLUDE) to remove the audio-only headers from your audio segments.HlsAudioOnlyHeader,
HlsAudioOnlyHeaderHlsGroupSettings.Builder baseUrl(String baseUrl)
baseUrl - A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if
base manifest is delivered from a different URL than the main .m3u8 file.HlsGroupSettings.Builder captionLanguageMappings(Collection<HlsCaptionLanguageMapping> captionLanguageMappings)
captionLanguageMappings - Language to be used on Caption outputsHlsGroupSettings.Builder captionLanguageMappings(HlsCaptionLanguageMapping... captionLanguageMappings)
captionLanguageMappings - Language to be used on Caption outputsHlsGroupSettings.Builder captionLanguageMappings(Consumer<HlsCaptionLanguageMapping.Builder>... captionLanguageMappings)
.Builder avoiding the need to create one manually via #builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #captionLanguageMappings(List) .captionLanguageMappings - a consumer that will call methods on List.Builder #captionLanguageMappings(List) HlsGroupSettings.Builder captionLanguageSetting(String captionLanguageSetting)
captionLanguageSetting - Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS lines in the manifest.
Specify at least one language in the CC1 Language Code field. One CLOSED-CAPTION line is added for
each Language Code you specify. Make sure to specify the languages in the order in which they appear
in the original source (if the source is embedded format) or the order of the caption selectors (if
the source is other than embedded). Otherwise, languages in the manifest will not match up properly
with the output captions. None: Include CLOSED-CAPTIONS=NONE line in the manifest. Omit: Omit any
CLOSED-CAPTIONS line from the manifest.HlsCaptionLanguageSetting,
HlsCaptionLanguageSettingHlsGroupSettings.Builder captionLanguageSetting(HlsCaptionLanguageSetting captionLanguageSetting)
captionLanguageSetting - Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS lines in the manifest.
Specify at least one language in the CC1 Language Code field. One CLOSED-CAPTION line is added for
each Language Code you specify. Make sure to specify the languages in the order in which they appear
in the original source (if the source is embedded format) or the order of the caption selectors (if
the source is other than embedded). Otherwise, languages in the manifest will not match up properly
with the output captions. None: Include CLOSED-CAPTIONS=NONE line in the manifest. Omit: Omit any
CLOSED-CAPTIONS line from the manifest.HlsCaptionLanguageSetting,
HlsCaptionLanguageSettingHlsGroupSettings.Builder clientCache(String clientCache)
clientCache - Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag. Otherwise, keep
the default value Enabled (ENABLED) and control caching in your video distribution set up. For
example, use the Cache-Control http header.HlsClientCache,
HlsClientCacheHlsGroupSettings.Builder clientCache(HlsClientCache clientCache)
clientCache - Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag. Otherwise, keep
the default value Enabled (ENABLED) and control caching in your video distribution set up. For
example, use the Cache-Control http header.HlsClientCache,
HlsClientCacheHlsGroupSettings.Builder codecSpecification(String codecSpecification)
codecSpecification - Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.HlsCodecSpecification,
HlsCodecSpecificationHlsGroupSettings.Builder codecSpecification(HlsCodecSpecification codecSpecification)
codecSpecification - Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.HlsCodecSpecification,
HlsCodecSpecificationHlsGroupSettings.Builder destination(String destination)
destination - Use Destination (Destination) to specify the S3 output location and the output filename base.
Destination accepts format identifiers. If you do not specify the base filename in the URI, the
service will use the filename of the input file. If your job has multiple inputs, the service uses the
filename of the first input file.HlsGroupSettings.Builder destinationSettings(DestinationSettings destinationSettings)
destinationSettings - Settings associated with the destination. Will vary based on the type of destinationdefault HlsGroupSettings.Builder destinationSettings(Consumer<DestinationSettings.Builder> destinationSettings)
DestinationSettings.Builder avoiding the need to create one manually
via DestinationSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to destinationSettings(DestinationSettings).destinationSettings - a consumer that will call methods on DestinationSettings.BuilderdestinationSettings(DestinationSettings)HlsGroupSettings.Builder directoryStructure(String directoryStructure)
directoryStructure - Indicates whether segments should be placed in subdirectories.HlsDirectoryStructure,
HlsDirectoryStructureHlsGroupSettings.Builder directoryStructure(HlsDirectoryStructure directoryStructure)
directoryStructure - Indicates whether segments should be placed in subdirectories.HlsDirectoryStructure,
HlsDirectoryStructureHlsGroupSettings.Builder encryption(HlsEncryptionSettings encryption)
encryption - DRM settings.default HlsGroupSettings.Builder encryption(Consumer<HlsEncryptionSettings.Builder> encryption)
HlsEncryptionSettings.Builder
avoiding the need to create one manually via HlsEncryptionSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to encryption(HlsEncryptionSettings).encryption - a consumer that will call methods on HlsEncryptionSettings.Builderencryption(HlsEncryptionSettings)HlsGroupSettings.Builder manifestCompression(String manifestCompression)
manifestCompression - When set to GZIP, compresses HLS playlist.HlsManifestCompression,
HlsManifestCompressionHlsGroupSettings.Builder manifestCompression(HlsManifestCompression manifestCompression)
manifestCompression - When set to GZIP, compresses HLS playlist.HlsManifestCompression,
HlsManifestCompressionHlsGroupSettings.Builder manifestDurationFormat(String manifestDurationFormat)
manifestDurationFormat - Indicates whether the output manifest should use floating point values for segment duration.HlsManifestDurationFormat,
HlsManifestDurationFormatHlsGroupSettings.Builder manifestDurationFormat(HlsManifestDurationFormat manifestDurationFormat)
manifestDurationFormat - Indicates whether the output manifest should use floating point values for segment duration.HlsManifestDurationFormat,
HlsManifestDurationFormatHlsGroupSettings.Builder minFinalSegmentLength(Double minFinalSegmentLength)
minFinalSegmentLength - Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices
play back the end of your video asset. If you know that player devices are hanging on the final
segment of your video because the length of your final segment is too short, use this setting to
specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1
and less than your segment length. When you specify a value for this setting, the encoder will combine
any final segment that is shorter than the length that you specify with the previous segment. For
example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final
segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.HlsGroupSettings.Builder minSegmentLength(Integer minSegmentLength)
minSegmentLength - When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a
nearby avail and extending the segment size if needed.HlsGroupSettings.Builder outputSelection(String outputSelection)
outputSelection - Indicates whether the .m3u8 manifest file should be generated for this HLS output group.HlsOutputSelection,
HlsOutputSelectionHlsGroupSettings.Builder outputSelection(HlsOutputSelection outputSelection)
outputSelection - Indicates whether the .m3u8 manifest file should be generated for this HLS output group.HlsOutputSelection,
HlsOutputSelectionHlsGroupSettings.Builder programDateTime(String programDateTime)
programDateTime - Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as
follows: either the program date and time are initialized using the input timecode source, or the time
is initialized using the input timecode source and the date is initialized using the timestamp_offset.HlsProgramDateTime,
HlsProgramDateTimeHlsGroupSettings.Builder programDateTime(HlsProgramDateTime programDateTime)
programDateTime - Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as
follows: either the program date and time are initialized using the input timecode source, or the time
is initialized using the input timecode source and the date is initialized using the timestamp_offset.HlsProgramDateTime,
HlsProgramDateTimeHlsGroupSettings.Builder programDateTimePeriod(Integer programDateTimePeriod)
programDateTimePeriod - Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.HlsGroupSettings.Builder segmentControl(String segmentControl)
segmentControl - When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE
tags to index segment for playback.HlsSegmentControl,
HlsSegmentControlHlsGroupSettings.Builder segmentControl(HlsSegmentControl segmentControl)
segmentControl - When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE
tags to index segment for playback.HlsSegmentControl,
HlsSegmentControlHlsGroupSettings.Builder segmentLength(Integer segmentLength)
segmentLength - Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the
next keyframe after this number of seconds, so actual segment length may be longer.HlsGroupSettings.Builder segmentsPerSubdirectory(Integer segmentsPerSubdirectory)
segmentsPerSubdirectory - Number of segments to write to a subdirectory before starting a new one. directoryStructure must be
SINGLE_DIRECTORY for this setting to have an effect.HlsGroupSettings.Builder streamInfResolution(String streamInfResolution)
streamInfResolution - Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.HlsStreamInfResolution,
HlsStreamInfResolutionHlsGroupSettings.Builder streamInfResolution(HlsStreamInfResolution streamInfResolution)
streamInfResolution - Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.HlsStreamInfResolution,
HlsStreamInfResolutionHlsGroupSettings.Builder timedMetadataId3Frame(String timedMetadataId3Frame)
timedMetadataId3Frame - Indicates ID3 frame that has the timecode.HlsTimedMetadataId3Frame,
HlsTimedMetadataId3FrameHlsGroupSettings.Builder timedMetadataId3Frame(HlsTimedMetadataId3Frame timedMetadataId3Frame)
timedMetadataId3Frame - Indicates ID3 frame that has the timecode.HlsTimedMetadataId3Frame,
HlsTimedMetadataId3FrameHlsGroupSettings.Builder timedMetadataId3Period(Integer timedMetadataId3Period)
timedMetadataId3Period - Timed Metadata interval in seconds.HlsGroupSettings.Builder timestampDeltaMilliseconds(Integer timestampDeltaMilliseconds)
timestampDeltaMilliseconds - Provides an extra millisecond delta offset to fine tune the timestamps.Copyright © 2021. All rights reserved.