@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HlsGroupSettings extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
HlsGroupSettings() |
| Modifier and Type | Method and Description |
|---|---|
HlsGroupSettings |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdMarkers()
Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
|
String |
getBaseUrlContent()
A partial URI prefix that will be prepended to each output in the media .m3u8 file.
|
String |
getBaseUrlContent1()
Optional.
|
String |
getBaseUrlManifest()
A partial URI prefix that will be prepended to each output in the media .m3u8 file.
|
String |
getBaseUrlManifest1()
Optional.
|
List<CaptionLanguageMapping> |
getCaptionLanguageMappings()
Mapping of up to 4 caption channels to caption languages.
|
String |
getCaptionLanguageSetting()
Applies only to 608 Embedded output captions.
|
String |
getClientCache()
When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, which prevents clients from saving
media segments for later replay.
|
String |
getCodecSpecification()
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
String |
getConstantIv()
For use with encryptionType.
|
OutputLocationRef |
getDestination()
A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).
|
String |
getDirectoryStructure()
Place segments in subdirectories.
|
String |
getDiscontinuityTags()
Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests for this output group.
|
String |
getEncryptionType()
Encrypts the segments with the given encryption scheme.
|
HlsCdnSettings |
getHlsCdnSettings()
Parameters that control interactions with the CDN.
|
String |
getHlsId3SegmentTagging()
State of HLS ID3 Segment Tagging
|
String |
getIFrameOnlyPlaylists()
DISABLED: Do not create an I-frame-only manifest, but do create the master and media manifests (according to the
Output Selection field).
|
String |
getIncompleteSegmentBehavior()
Specifies whether to include the final (incomplete) segment in the media output when the pipeline stops producing
output because of a channel stop, a channel pause or a loss of input to the pipeline.
|
Integer |
getIndexNSegments()
Applies only if Mode field is LIVE.
|
String |
getInputLossAction()
Parameter that control output group behavior on input loss.
|
String |
getIvInManifest()
For use with encryptionType.
|
String |
getIvSource()
For use with encryptionType.
|
Integer |
getKeepSegments()
Applies only if Mode field is LIVE.
|
String |
getKeyFormat()
The value specifies how the key is represented in the resource identified by the URI.
|
String |
getKeyFormatVersions()
Either a single positive integer version value or a slash delimited list of version values (1/2/3).
|
KeyProviderSettings |
getKeyProviderSettings()
The key provider settings.
|
String |
getManifestCompression()
When set to gzip, compresses HLS playlist.
|
String |
getManifestDurationFormat()
Indicates whether the output manifest should use floating point or integer values for segment duration.
|
Integer |
getMinSegmentLength()
Minimum length of MPEG-2 Transport Stream segments in seconds.
|
String |
getMode()
If "vod", all segments are indexed and kept permanently in the destination and manifest.
|
String |
getOutputSelection()
MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, and media manifests) for this output
group.
|
String |
getProgramDateTime()
Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files.
|
String |
getProgramDateTimeClock()
Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock.
|
Integer |
getProgramDateTimePeriod()
Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.
|
String |
getRedundantManifest()
ENABLED: The master manifest (.m3u8 file) for each pipeline includes information about both pipelines: first its
own media files, then the media files of the other pipeline.
|
String |
getSegmentationMode()
useInputSegmentation has been deprecated.
|
Integer |
getSegmentLength()
Length of MPEG-2 Transport Stream segments to create in seconds.
|
Integer |
getSegmentsPerSubdirectory()
Number of segments to write to a subdirectory before starting a new one.
|
String |
getStreamInfResolution()
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
String |
getTimedMetadataId3Frame()
Indicates ID3 frame that has the timecode.
|
Integer |
getTimedMetadataId3Period()
Timed Metadata interval in seconds.
|
Integer |
getTimestampDeltaMilliseconds()
Provides an extra millisecond delta offset to fine tune the timestamps.
|
String |
getTsFileMode()
SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdMarkers(Collection<String> adMarkers)
Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
|
void |
setBaseUrlContent(String baseUrlContent)
A partial URI prefix that will be prepended to each output in the media .m3u8 file.
|
void |
setBaseUrlContent1(String baseUrlContent1)
Optional.
|
void |
setBaseUrlManifest(String baseUrlManifest)
A partial URI prefix that will be prepended to each output in the media .m3u8 file.
|
void |
setBaseUrlManifest1(String baseUrlManifest1)
Optional.
|
void |
setCaptionLanguageMappings(Collection<CaptionLanguageMapping> captionLanguageMappings)
Mapping of up to 4 caption channels to caption languages.
|
void |
setCaptionLanguageSetting(String captionLanguageSetting)
Applies only to 608 Embedded output captions.
|
void |
setClientCache(String clientCache)
When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, which prevents clients from saving
media segments for later replay.
|
void |
setCodecSpecification(String codecSpecification)
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
void |
setConstantIv(String constantIv)
For use with encryptionType.
|
void |
setDestination(OutputLocationRef destination)
A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).
|
void |
setDirectoryStructure(String directoryStructure)
Place segments in subdirectories.
|
void |
setDiscontinuityTags(String discontinuityTags)
Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests for this output group.
|
void |
setEncryptionType(String encryptionType)
Encrypts the segments with the given encryption scheme.
|
void |
setHlsCdnSettings(HlsCdnSettings hlsCdnSettings)
Parameters that control interactions with the CDN.
|
void |
setHlsId3SegmentTagging(String hlsId3SegmentTagging)
State of HLS ID3 Segment Tagging
|
void |
setIFrameOnlyPlaylists(String iFrameOnlyPlaylists)
DISABLED: Do not create an I-frame-only manifest, but do create the master and media manifests (according to the
Output Selection field).
|
void |
setIncompleteSegmentBehavior(String incompleteSegmentBehavior)
Specifies whether to include the final (incomplete) segment in the media output when the pipeline stops producing
output because of a channel stop, a channel pause or a loss of input to the pipeline.
|
void |
setIndexNSegments(Integer indexNSegments)
Applies only if Mode field is LIVE.
|
void |
setInputLossAction(String inputLossAction)
Parameter that control output group behavior on input loss.
|
void |
setIvInManifest(String ivInManifest)
For use with encryptionType.
|
void |
setIvSource(String ivSource)
For use with encryptionType.
|
void |
setKeepSegments(Integer keepSegments)
Applies only if Mode field is LIVE.
|
void |
setKeyFormat(String keyFormat)
The value specifies how the key is represented in the resource identified by the URI.
|
void |
setKeyFormatVersions(String keyFormatVersions)
Either a single positive integer version value or a slash delimited list of version values (1/2/3).
|
void |
setKeyProviderSettings(KeyProviderSettings keyProviderSettings)
The key provider settings.
|
void |
setManifestCompression(String manifestCompression)
When set to gzip, compresses HLS playlist.
|
void |
setManifestDurationFormat(String manifestDurationFormat)
Indicates whether the output manifest should use floating point or integer values for segment duration.
|
void |
setMinSegmentLength(Integer minSegmentLength)
Minimum length of MPEG-2 Transport Stream segments in seconds.
|
void |
setMode(String mode)
If "vod", all segments are indexed and kept permanently in the destination and manifest.
|
void |
setOutputSelection(String outputSelection)
MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, and media manifests) for this output
group.
|
void |
setProgramDateTime(String programDateTime)
Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files.
|
void |
setProgramDateTimeClock(String programDateTimeClock)
Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock.
|
void |
setProgramDateTimePeriod(Integer programDateTimePeriod)
Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.
|
void |
setRedundantManifest(String redundantManifest)
ENABLED: The master manifest (.m3u8 file) for each pipeline includes information about both pipelines: first its
own media files, then the media files of the other pipeline.
|
void |
setSegmentationMode(String segmentationMode)
useInputSegmentation has been deprecated.
|
void |
setSegmentLength(Integer segmentLength)
Length of MPEG-2 Transport Stream segments to create in seconds.
|
void |
setSegmentsPerSubdirectory(Integer segmentsPerSubdirectory)
Number of segments to write to a subdirectory before starting a new one.
|
void |
setStreamInfResolution(String streamInfResolution)
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
void |
setTimedMetadataId3Frame(String timedMetadataId3Frame)
Indicates ID3 frame that has the timecode.
|
void |
setTimedMetadataId3Period(Integer timedMetadataId3Period)
Timed Metadata interval in seconds.
|
void |
setTimestampDeltaMilliseconds(Integer timestampDeltaMilliseconds)
Provides an extra millisecond delta offset to fine tune the timestamps.
|
void |
setTsFileMode(String tsFileMode)
SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.
|
String |
toString()
Returns a string representation of this object.
|
HlsGroupSettings |
withAdMarkers(Collection<String> adMarkers)
Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
|
HlsGroupSettings |
withAdMarkers(HlsAdMarkers... adMarkers)
Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
|
HlsGroupSettings |
withAdMarkers(String... adMarkers)
Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
|
HlsGroupSettings |
withBaseUrlContent(String baseUrlContent)
A partial URI prefix that will be prepended to each output in the media .m3u8 file.
|
HlsGroupSettings |
withBaseUrlContent1(String baseUrlContent1)
Optional.
|
HlsGroupSettings |
withBaseUrlManifest(String baseUrlManifest)
A partial URI prefix that will be prepended to each output in the media .m3u8 file.
|
HlsGroupSettings |
withBaseUrlManifest1(String baseUrlManifest1)
Optional.
|
HlsGroupSettings |
withCaptionLanguageMappings(CaptionLanguageMapping... captionLanguageMappings)
Mapping of up to 4 caption channels to caption languages.
|
HlsGroupSettings |
withCaptionLanguageMappings(Collection<CaptionLanguageMapping> captionLanguageMappings)
Mapping of up to 4 caption channels to caption languages.
|
HlsGroupSettings |
withCaptionLanguageSetting(HlsCaptionLanguageSetting captionLanguageSetting)
Applies only to 608 Embedded output captions.
|
HlsGroupSettings |
withCaptionLanguageSetting(String captionLanguageSetting)
Applies only to 608 Embedded output captions.
|
HlsGroupSettings |
withClientCache(HlsClientCache clientCache)
When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, which prevents clients from saving
media segments for later replay.
|
HlsGroupSettings |
withClientCache(String clientCache)
When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, which prevents clients from saving
media segments for later replay.
|
HlsGroupSettings |
withCodecSpecification(HlsCodecSpecification codecSpecification)
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
HlsGroupSettings |
withCodecSpecification(String codecSpecification)
Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
|
HlsGroupSettings |
withConstantIv(String constantIv)
For use with encryptionType.
|
HlsGroupSettings |
withDestination(OutputLocationRef destination)
A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).
|
HlsGroupSettings |
withDirectoryStructure(HlsDirectoryStructure directoryStructure)
Place segments in subdirectories.
|
HlsGroupSettings |
withDirectoryStructure(String directoryStructure)
Place segments in subdirectories.
|
HlsGroupSettings |
withDiscontinuityTags(HlsDiscontinuityTags discontinuityTags)
Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests for this output group.
|
HlsGroupSettings |
withDiscontinuityTags(String discontinuityTags)
Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests for this output group.
|
HlsGroupSettings |
withEncryptionType(HlsEncryptionType encryptionType)
Encrypts the segments with the given encryption scheme.
|
HlsGroupSettings |
withEncryptionType(String encryptionType)
Encrypts the segments with the given encryption scheme.
|
HlsGroupSettings |
withHlsCdnSettings(HlsCdnSettings hlsCdnSettings)
Parameters that control interactions with the CDN.
|
HlsGroupSettings |
withHlsId3SegmentTagging(HlsId3SegmentTaggingState hlsId3SegmentTagging)
State of HLS ID3 Segment Tagging
|
HlsGroupSettings |
withHlsId3SegmentTagging(String hlsId3SegmentTagging)
State of HLS ID3 Segment Tagging
|
HlsGroupSettings |
withIFrameOnlyPlaylists(IFrameOnlyPlaylistType iFrameOnlyPlaylists)
DISABLED: Do not create an I-frame-only manifest, but do create the master and media manifests (according to the
Output Selection field).
|
HlsGroupSettings |
withIFrameOnlyPlaylists(String iFrameOnlyPlaylists)
DISABLED: Do not create an I-frame-only manifest, but do create the master and media manifests (according to the
Output Selection field).
|
HlsGroupSettings |
withIncompleteSegmentBehavior(HlsIncompleteSegmentBehavior incompleteSegmentBehavior)
Specifies whether to include the final (incomplete) segment in the media output when the pipeline stops producing
output because of a channel stop, a channel pause or a loss of input to the pipeline.
|
HlsGroupSettings |
withIncompleteSegmentBehavior(String incompleteSegmentBehavior)
Specifies whether to include the final (incomplete) segment in the media output when the pipeline stops producing
output because of a channel stop, a channel pause or a loss of input to the pipeline.
|
HlsGroupSettings |
withIndexNSegments(Integer indexNSegments)
Applies only if Mode field is LIVE.
|
HlsGroupSettings |
withInputLossAction(InputLossActionForHlsOut inputLossAction)
Parameter that control output group behavior on input loss.
|
HlsGroupSettings |
withInputLossAction(String inputLossAction)
Parameter that control output group behavior on input loss.
|
HlsGroupSettings |
withIvInManifest(HlsIvInManifest ivInManifest)
For use with encryptionType.
|
HlsGroupSettings |
withIvInManifest(String ivInManifest)
For use with encryptionType.
|
HlsGroupSettings |
withIvSource(HlsIvSource ivSource)
For use with encryptionType.
|
HlsGroupSettings |
withIvSource(String ivSource)
For use with encryptionType.
|
HlsGroupSettings |
withKeepSegments(Integer keepSegments)
Applies only if Mode field is LIVE.
|
HlsGroupSettings |
withKeyFormat(String keyFormat)
The value specifies how the key is represented in the resource identified by the URI.
|
HlsGroupSettings |
withKeyFormatVersions(String keyFormatVersions)
Either a single positive integer version value or a slash delimited list of version values (1/2/3).
|
HlsGroupSettings |
withKeyProviderSettings(KeyProviderSettings keyProviderSettings)
The key provider settings.
|
HlsGroupSettings |
withManifestCompression(HlsManifestCompression manifestCompression)
When set to gzip, compresses HLS playlist.
|
HlsGroupSettings |
withManifestCompression(String manifestCompression)
When set to gzip, compresses HLS playlist.
|
HlsGroupSettings |
withManifestDurationFormat(HlsManifestDurationFormat manifestDurationFormat)
Indicates whether the output manifest should use floating point or integer values for segment duration.
|
HlsGroupSettings |
withManifestDurationFormat(String manifestDurationFormat)
Indicates whether the output manifest should use floating point or integer values for segment duration.
|
HlsGroupSettings |
withMinSegmentLength(Integer minSegmentLength)
Minimum length of MPEG-2 Transport Stream segments in seconds.
|
HlsGroupSettings |
withMode(HlsMode mode)
If "vod", all segments are indexed and kept permanently in the destination and manifest.
|
HlsGroupSettings |
withMode(String mode)
If "vod", all segments are indexed and kept permanently in the destination and manifest.
|
HlsGroupSettings |
withOutputSelection(HlsOutputSelection outputSelection)
MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, and media manifests) for this output
group.
|
HlsGroupSettings |
withOutputSelection(String outputSelection)
MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, and media manifests) for this output
group.
|
HlsGroupSettings |
withProgramDateTime(HlsProgramDateTime programDateTime)
Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files.
|
HlsGroupSettings |
withProgramDateTime(String programDateTime)
Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files.
|
HlsGroupSettings |
withProgramDateTimeClock(HlsProgramDateTimeClock programDateTimeClock)
Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock.
|
HlsGroupSettings |
withProgramDateTimeClock(String programDateTimeClock)
Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock.
|
HlsGroupSettings |
withProgramDateTimePeriod(Integer programDateTimePeriod)
Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.
|
HlsGroupSettings |
withRedundantManifest(HlsRedundantManifest redundantManifest)
ENABLED: The master manifest (.m3u8 file) for each pipeline includes information about both pipelines: first its
own media files, then the media files of the other pipeline.
|
HlsGroupSettings |
withRedundantManifest(String redundantManifest)
ENABLED: The master manifest (.m3u8 file) for each pipeline includes information about both pipelines: first its
own media files, then the media files of the other pipeline.
|
HlsGroupSettings |
withSegmentationMode(HlsSegmentationMode segmentationMode)
useInputSegmentation has been deprecated.
|
HlsGroupSettings |
withSegmentationMode(String segmentationMode)
useInputSegmentation has been deprecated.
|
HlsGroupSettings |
withSegmentLength(Integer segmentLength)
Length of MPEG-2 Transport Stream segments to create in seconds.
|
HlsGroupSettings |
withSegmentsPerSubdirectory(Integer segmentsPerSubdirectory)
Number of segments to write to a subdirectory before starting a new one.
|
HlsGroupSettings |
withStreamInfResolution(HlsStreamInfResolution streamInfResolution)
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
HlsGroupSettings |
withStreamInfResolution(String streamInfResolution)
Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
|
HlsGroupSettings |
withTimedMetadataId3Frame(HlsTimedMetadataId3Frame timedMetadataId3Frame)
Indicates ID3 frame that has the timecode.
|
HlsGroupSettings |
withTimedMetadataId3Frame(String timedMetadataId3Frame)
Indicates ID3 frame that has the timecode.
|
HlsGroupSettings |
withTimedMetadataId3Period(Integer timedMetadataId3Period)
Timed Metadata interval in seconds.
|
HlsGroupSettings |
withTimestampDeltaMilliseconds(Integer timestampDeltaMilliseconds)
Provides an extra millisecond delta offset to fine tune the timestamps.
|
HlsGroupSettings |
withTsFileMode(HlsTsFileMode tsFileMode)
SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.
|
HlsGroupSettings |
withTsFileMode(String tsFileMode)
SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.
|
public List<String> getAdMarkers()
HlsAdMarkerspublic void setAdMarkers(Collection<String> adMarkers)
adMarkers - Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.HlsAdMarkerspublic HlsGroupSettings withAdMarkers(String... adMarkers)
NOTE: This method appends the values to the existing list (if any). Use
setAdMarkers(java.util.Collection) or withAdMarkers(java.util.Collection) if you want to
override the existing values.
adMarkers - Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.HlsAdMarkerspublic HlsGroupSettings withAdMarkers(Collection<String> adMarkers)
adMarkers - Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.HlsAdMarkerspublic HlsGroupSettings withAdMarkers(HlsAdMarkers... adMarkers)
adMarkers - Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.HlsAdMarkerspublic void setBaseUrlContent(String baseUrlContent)
baseUrlContent - 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.public String getBaseUrlContent()
public HlsGroupSettings withBaseUrlContent(String baseUrlContent)
baseUrlContent - 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.public void setBaseUrlContent1(String baseUrlContent1)
baseUrlContent1 - Optional. One value per output group.
This field is required only if you are completing Base URL content A, and the downstream system has
notified you that the media files for pipeline 1 of all outputs are in a location different from the media
files for pipeline 0.public String getBaseUrlContent1()
public HlsGroupSettings withBaseUrlContent1(String baseUrlContent1)
baseUrlContent1 - Optional. One value per output group.
This field is required only if you are completing Base URL content A, and the downstream system has
notified you that the media files for pipeline 1 of all outputs are in a location different from the media
files for pipeline 0.public void setBaseUrlManifest(String baseUrlManifest)
baseUrlManifest - 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.public String getBaseUrlManifest()
public HlsGroupSettings withBaseUrlManifest(String baseUrlManifest)
baseUrlManifest - 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.public void setBaseUrlManifest1(String baseUrlManifest1)
baseUrlManifest1 - Optional. One value per output group.
Complete this field only if you are completing Base URL manifest A, and the downstream system has notified
you that the child manifest files for pipeline 1 of all outputs are in a location different from the child
manifest files for pipeline 0.public String getBaseUrlManifest1()
public HlsGroupSettings withBaseUrlManifest1(String baseUrlManifest1)
baseUrlManifest1 - Optional. One value per output group.
Complete this field only if you are completing Base URL manifest A, and the downstream system has notified
you that the child manifest files for pipeline 1 of all outputs are in a location different from the child
manifest files for pipeline 0.public List<CaptionLanguageMapping> getCaptionLanguageMappings()
public void setCaptionLanguageMappings(Collection<CaptionLanguageMapping> captionLanguageMappings)
captionLanguageMappings - Mapping of up to 4 caption channels to caption languages. Is only meaningful if captionLanguageSetting is
set to "insert".public HlsGroupSettings withCaptionLanguageMappings(CaptionLanguageMapping... captionLanguageMappings)
NOTE: This method appends the values to the existing list (if any). Use
setCaptionLanguageMappings(java.util.Collection) or
withCaptionLanguageMappings(java.util.Collection) if you want to override the existing values.
captionLanguageMappings - Mapping of up to 4 caption channels to caption languages. Is only meaningful if captionLanguageSetting is
set to "insert".public HlsGroupSettings withCaptionLanguageMappings(Collection<CaptionLanguageMapping> captionLanguageMappings)
captionLanguageMappings - Mapping of up to 4 caption channels to caption languages. Is only meaningful if captionLanguageSetting is
set to "insert".public void setCaptionLanguageSetting(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.HlsCaptionLanguageSettingpublic String getCaptionLanguageSetting()
HlsCaptionLanguageSettingpublic HlsGroupSettings withCaptionLanguageSetting(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.HlsCaptionLanguageSettingpublic HlsGroupSettings withCaptionLanguageSetting(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.HlsCaptionLanguageSettingpublic void setClientCache(String clientCache)
clientCache - When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, which prevents clients from
saving media segments for later replay.HlsClientCachepublic String getClientCache()
HlsClientCachepublic HlsGroupSettings withClientCache(String clientCache)
clientCache - When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, which prevents clients from
saving media segments for later replay.HlsClientCachepublic HlsGroupSettings withClientCache(HlsClientCache clientCache)
clientCache - When set to "disabled", sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, which prevents clients from
saving media segments for later replay.HlsClientCachepublic void setCodecSpecification(String codecSpecification)
codecSpecification - Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.HlsCodecSpecificationpublic String getCodecSpecification()
HlsCodecSpecificationpublic HlsGroupSettings withCodecSpecification(String codecSpecification)
codecSpecification - Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.HlsCodecSpecificationpublic HlsGroupSettings withCodecSpecification(HlsCodecSpecification codecSpecification)
codecSpecification - Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.HlsCodecSpecificationpublic void setConstantIv(String constantIv)
constantIv - For use with encryptionType. This is a 128-bit, 16-byte hex value represented by a 32-character text
string. If ivSource is set to "explicit" then this parameter is required and is used as the IV for
encryption.public String getConstantIv()
public HlsGroupSettings withConstantIv(String constantIv)
constantIv - For use with encryptionType. This is a 128-bit, 16-byte hex value represented by a 32-character text
string. If ivSource is set to "explicit" then this parameter is required and is used as the IV for
encryption.public void setDestination(OutputLocationRef destination)
destination - A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).public OutputLocationRef getDestination()
public HlsGroupSettings withDestination(OutputLocationRef destination)
destination - A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).public void setDirectoryStructure(String directoryStructure)
directoryStructure - Place segments in subdirectories.HlsDirectoryStructurepublic String getDirectoryStructure()
HlsDirectoryStructurepublic HlsGroupSettings withDirectoryStructure(String directoryStructure)
directoryStructure - Place segments in subdirectories.HlsDirectoryStructurepublic HlsGroupSettings withDirectoryStructure(HlsDirectoryStructure directoryStructure)
directoryStructure - Place segments in subdirectories.HlsDirectoryStructurepublic void setDiscontinuityTags(String discontinuityTags)
discontinuityTags - Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests for this output group.
Typically, choose Insert because these tags are required in the manifest (according to the HLS
specification) and serve an important purpose. Choose Never Insert only if the downstream system is doing
real-time failover (without using the MediaLive automatic failover feature) and only if that downstream
system has advised you to exclude the tags.HlsDiscontinuityTagspublic String getDiscontinuityTags()
HlsDiscontinuityTagspublic HlsGroupSettings withDiscontinuityTags(String discontinuityTags)
discontinuityTags - Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests for this output group.
Typically, choose Insert because these tags are required in the manifest (according to the HLS
specification) and serve an important purpose. Choose Never Insert only if the downstream system is doing
real-time failover (without using the MediaLive automatic failover feature) and only if that downstream
system has advised you to exclude the tags.HlsDiscontinuityTagspublic HlsGroupSettings withDiscontinuityTags(HlsDiscontinuityTags discontinuityTags)
discontinuityTags - Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests for this output group.
Typically, choose Insert because these tags are required in the manifest (according to the HLS
specification) and serve an important purpose. Choose Never Insert only if the downstream system is doing
real-time failover (without using the MediaLive automatic failover feature) and only if that downstream
system has advised you to exclude the tags.HlsDiscontinuityTagspublic void setEncryptionType(String encryptionType)
encryptionType - Encrypts the segments with the given encryption scheme. Exclude this parameter if no encryption is
desired.HlsEncryptionTypepublic String getEncryptionType()
HlsEncryptionTypepublic HlsGroupSettings withEncryptionType(String encryptionType)
encryptionType - Encrypts the segments with the given encryption scheme. Exclude this parameter if no encryption is
desired.HlsEncryptionTypepublic HlsGroupSettings withEncryptionType(HlsEncryptionType encryptionType)
encryptionType - Encrypts the segments with the given encryption scheme. Exclude this parameter if no encryption is
desired.HlsEncryptionTypepublic void setHlsCdnSettings(HlsCdnSettings hlsCdnSettings)
hlsCdnSettings - Parameters that control interactions with the CDN.public HlsCdnSettings getHlsCdnSettings()
public HlsGroupSettings withHlsCdnSettings(HlsCdnSettings hlsCdnSettings)
hlsCdnSettings - Parameters that control interactions with the CDN.public void setHlsId3SegmentTagging(String hlsId3SegmentTagging)
hlsId3SegmentTagging - State of HLS ID3 Segment TaggingHlsId3SegmentTaggingStatepublic String getHlsId3SegmentTagging()
HlsId3SegmentTaggingStatepublic HlsGroupSettings withHlsId3SegmentTagging(String hlsId3SegmentTagging)
hlsId3SegmentTagging - State of HLS ID3 Segment TaggingHlsId3SegmentTaggingStatepublic HlsGroupSettings withHlsId3SegmentTagging(HlsId3SegmentTaggingState hlsId3SegmentTagging)
hlsId3SegmentTagging - State of HLS ID3 Segment TaggingHlsId3SegmentTaggingStatepublic void setIFrameOnlyPlaylists(String iFrameOnlyPlaylists)
iFrameOnlyPlaylists - DISABLED: Do not create an I-frame-only manifest, but do create the master and media manifests (according
to the Output Selection field).
STANDARD: Create an I-frame-only manifest for each output that contains video, as well as the other
manifests (according to the Output Selection field). The I-frame manifest contains a #EXT-X-I-FRAMES-ONLY
tag to indicate it is I-frame only, and one or more #EXT-X-BYTERANGE entries identifying the I-frame
position. For example, #EXT-X-BYTERANGE:160364@1461888"IFrameOnlyPlaylistTypepublic String getIFrameOnlyPlaylists()
IFrameOnlyPlaylistTypepublic HlsGroupSettings withIFrameOnlyPlaylists(String iFrameOnlyPlaylists)
iFrameOnlyPlaylists - DISABLED: Do not create an I-frame-only manifest, but do create the master and media manifests (according
to the Output Selection field).
STANDARD: Create an I-frame-only manifest for each output that contains video, as well as the other
manifests (according to the Output Selection field). The I-frame manifest contains a #EXT-X-I-FRAMES-ONLY
tag to indicate it is I-frame only, and one or more #EXT-X-BYTERANGE entries identifying the I-frame
position. For example, #EXT-X-BYTERANGE:160364@1461888"IFrameOnlyPlaylistTypepublic HlsGroupSettings withIFrameOnlyPlaylists(IFrameOnlyPlaylistType iFrameOnlyPlaylists)
iFrameOnlyPlaylists - DISABLED: Do not create an I-frame-only manifest, but do create the master and media manifests (according
to the Output Selection field).
STANDARD: Create an I-frame-only manifest for each output that contains video, as well as the other
manifests (according to the Output Selection field). The I-frame manifest contains a #EXT-X-I-FRAMES-ONLY
tag to indicate it is I-frame only, and one or more #EXT-X-BYTERANGE entries identifying the I-frame
position. For example, #EXT-X-BYTERANGE:160364@1461888"IFrameOnlyPlaylistTypepublic void setIncompleteSegmentBehavior(String incompleteSegmentBehavior)
incompleteSegmentBehavior - Specifies whether to include the final (incomplete) segment in the media output when the pipeline stops
producing output because of a channel stop, a channel pause or a loss of input to the pipeline. Auto means
that MediaLive decides whether to include the final segment, depending on the channel class and the types
of output groups. Suppress means to never include the incomplete segment. We recommend you choose Auto and
let MediaLive control the behavior.HlsIncompleteSegmentBehaviorpublic String getIncompleteSegmentBehavior()
HlsIncompleteSegmentBehaviorpublic HlsGroupSettings withIncompleteSegmentBehavior(String incompleteSegmentBehavior)
incompleteSegmentBehavior - Specifies whether to include the final (incomplete) segment in the media output when the pipeline stops
producing output because of a channel stop, a channel pause or a loss of input to the pipeline. Auto means
that MediaLive decides whether to include the final segment, depending on the channel class and the types
of output groups. Suppress means to never include the incomplete segment. We recommend you choose Auto and
let MediaLive control the behavior.HlsIncompleteSegmentBehaviorpublic HlsGroupSettings withIncompleteSegmentBehavior(HlsIncompleteSegmentBehavior incompleteSegmentBehavior)
incompleteSegmentBehavior - Specifies whether to include the final (incomplete) segment in the media output when the pipeline stops
producing output because of a channel stop, a channel pause or a loss of input to the pipeline. Auto means
that MediaLive decides whether to include the final segment, depending on the channel class and the types
of output groups. Suppress means to never include the incomplete segment. We recommend you choose Auto and
let MediaLive control the behavior.HlsIncompleteSegmentBehaviorpublic void setIndexNSegments(Integer indexNSegments)
indexNSegments - Applies only if Mode field is LIVE.
Specifies the maximum number of segments in the media manifest file. After this maximum, older segments
are removed from the media manifest. This number must be smaller than the number in the Keep Segments
field.public Integer getIndexNSegments()
public HlsGroupSettings withIndexNSegments(Integer indexNSegments)
indexNSegments - Applies only if Mode field is LIVE.
Specifies the maximum number of segments in the media manifest file. After this maximum, older segments
are removed from the media manifest. This number must be smaller than the number in the Keep Segments
field.public void setInputLossAction(String inputLossAction)
inputLossAction - Parameter that control output group behavior on input loss.InputLossActionForHlsOutpublic String getInputLossAction()
InputLossActionForHlsOutpublic HlsGroupSettings withInputLossAction(String inputLossAction)
inputLossAction - Parameter that control output group behavior on input loss.InputLossActionForHlsOutpublic HlsGroupSettings withInputLossAction(InputLossActionForHlsOut inputLossAction)
inputLossAction - Parameter that control output group behavior on input loss.InputLossActionForHlsOutpublic void setIvInManifest(String ivInManifest)
ivInManifest - For use with encryptionType. The IV (Initialization Vector) is a 128-bit number used in conjunction with
the key for encrypting blocks. If set to "include", IV is listed in the manifest, otherwise the IV is not
in the manifest.HlsIvInManifestpublic String getIvInManifest()
HlsIvInManifestpublic HlsGroupSettings withIvInManifest(String ivInManifest)
ivInManifest - For use with encryptionType. The IV (Initialization Vector) is a 128-bit number used in conjunction with
the key for encrypting blocks. If set to "include", IV is listed in the manifest, otherwise the IV is not
in the manifest.HlsIvInManifestpublic HlsGroupSettings withIvInManifest(HlsIvInManifest ivInManifest)
ivInManifest - For use with encryptionType. The IV (Initialization Vector) is a 128-bit number used in conjunction with
the key for encrypting blocks. If set to "include", IV is listed in the manifest, otherwise the IV is not
in the manifest.HlsIvInManifestpublic void setIvSource(String ivSource)
ivSource - For use with encryptionType. The IV (Initialization Vector) is a 128-bit number used in conjunction with
the key for encrypting blocks. If this setting is "followsSegmentNumber", it will cause the IV to change
every segment (to match the segment number). If this is set to "explicit", you must enter a constantIv
value.HlsIvSourcepublic String getIvSource()
HlsIvSourcepublic HlsGroupSettings withIvSource(String ivSource)
ivSource - For use with encryptionType. The IV (Initialization Vector) is a 128-bit number used in conjunction with
the key for encrypting blocks. If this setting is "followsSegmentNumber", it will cause the IV to change
every segment (to match the segment number). If this is set to "explicit", you must enter a constantIv
value.HlsIvSourcepublic HlsGroupSettings withIvSource(HlsIvSource ivSource)
ivSource - For use with encryptionType. The IV (Initialization Vector) is a 128-bit number used in conjunction with
the key for encrypting blocks. If this setting is "followsSegmentNumber", it will cause the IV to change
every segment (to match the segment number). If this is set to "explicit", you must enter a constantIv
value.HlsIvSourcepublic void setKeepSegments(Integer keepSegments)
keepSegments - Applies only if Mode field is LIVE.
Specifies the number of media segments to retain in the destination directory. This number should be
bigger than indexNSegments (Num segments). We recommend (value = (2 x indexNsegments) + 1).
If this "keep segments" number is too low, the following might happen: the player is still reading a media
manifest file that lists this segment, but that segment has been removed from the destination directory
(as directed by indexNSegments). This situation would result in a 404 HTTP error on the player.public Integer getKeepSegments()
public HlsGroupSettings withKeepSegments(Integer keepSegments)
keepSegments - Applies only if Mode field is LIVE.
Specifies the number of media segments to retain in the destination directory. This number should be
bigger than indexNSegments (Num segments). We recommend (value = (2 x indexNsegments) + 1).
If this "keep segments" number is too low, the following might happen: the player is still reading a media
manifest file that lists this segment, but that segment has been removed from the destination directory
(as directed by indexNSegments). This situation would result in a 404 HTTP error on the player.public void setKeyFormat(String keyFormat)
keyFormat - The value specifies how the key is represented in the resource identified by the URI. If parameter is
absent, an implicit value of "identity" is used. A reverse DNS string can also be given.public String getKeyFormat()
public HlsGroupSettings withKeyFormat(String keyFormat)
keyFormat - The value specifies how the key is represented in the resource identified by the URI. If parameter is
absent, an implicit value of "identity" is used. A reverse DNS string can also be given.public void setKeyFormatVersions(String keyFormatVersions)
keyFormatVersions - Either a single positive integer version value or a slash delimited list of version values (1/2/3).public String getKeyFormatVersions()
public HlsGroupSettings withKeyFormatVersions(String keyFormatVersions)
keyFormatVersions - Either a single positive integer version value or a slash delimited list of version values (1/2/3).public void setKeyProviderSettings(KeyProviderSettings keyProviderSettings)
keyProviderSettings - The key provider settings.public KeyProviderSettings getKeyProviderSettings()
public HlsGroupSettings withKeyProviderSettings(KeyProviderSettings keyProviderSettings)
keyProviderSettings - The key provider settings.public void setManifestCompression(String manifestCompression)
manifestCompression - When set to gzip, compresses HLS playlist.HlsManifestCompressionpublic String getManifestCompression()
HlsManifestCompressionpublic HlsGroupSettings withManifestCompression(String manifestCompression)
manifestCompression - When set to gzip, compresses HLS playlist.HlsManifestCompressionpublic HlsGroupSettings withManifestCompression(HlsManifestCompression manifestCompression)
manifestCompression - When set to gzip, compresses HLS playlist.HlsManifestCompressionpublic void setManifestDurationFormat(String manifestDurationFormat)
manifestDurationFormat - Indicates whether the output manifest should use floating point or integer values for segment duration.HlsManifestDurationFormatpublic String getManifestDurationFormat()
HlsManifestDurationFormatpublic HlsGroupSettings withManifestDurationFormat(String manifestDurationFormat)
manifestDurationFormat - Indicates whether the output manifest should use floating point or integer values for segment duration.HlsManifestDurationFormatpublic HlsGroupSettings withManifestDurationFormat(HlsManifestDurationFormat manifestDurationFormat)
manifestDurationFormat - Indicates whether the output manifest should use floating point or integer values for segment duration.HlsManifestDurationFormatpublic void setMinSegmentLength(Integer minSegmentLength)
minSegmentLength - Minimum length of MPEG-2 Transport Stream segments in seconds. When set, minimum segment length is
enforced by looking ahead and back within the specified range for a nearby avail and extending the segment
size if needed.public Integer getMinSegmentLength()
public HlsGroupSettings withMinSegmentLength(Integer minSegmentLength)
minSegmentLength - Minimum length of MPEG-2 Transport Stream segments in seconds. When set, minimum segment length is
enforced by looking ahead and back within the specified range for a nearby avail and extending the segment
size if needed.public void setMode(String mode)
mode - If "vod", all segments are indexed and kept permanently in the destination and manifest. If "live", only
the number segments specified in keepSegments and indexNSegments are kept; newer segments replace older
segments, which may prevent players from rewinding all the way to the beginning of the event.
VOD mode uses HLS EXT-X-PLAYLIST-TYPE of EVENT while the channel is running, converting it to a "VOD" type
manifest on completion of the stream.HlsModepublic String getMode()
HlsModepublic HlsGroupSettings withMode(String mode)
mode - If "vod", all segments are indexed and kept permanently in the destination and manifest. If "live", only
the number segments specified in keepSegments and indexNSegments are kept; newer segments replace older
segments, which may prevent players from rewinding all the way to the beginning of the event.
VOD mode uses HLS EXT-X-PLAYLIST-TYPE of EVENT while the channel is running, converting it to a "VOD" type
manifest on completion of the stream.HlsModepublic HlsGroupSettings withMode(HlsMode mode)
mode - If "vod", all segments are indexed and kept permanently in the destination and manifest. If "live", only
the number segments specified in keepSegments and indexNSegments are kept; newer segments replace older
segments, which may prevent players from rewinding all the way to the beginning of the event.
VOD mode uses HLS EXT-X-PLAYLIST-TYPE of EVENT while the channel is running, converting it to a "VOD" type
manifest on completion of the stream.HlsModepublic void setOutputSelection(String outputSelection)
outputSelection - MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, and media manifests) for this
output group.
VARIANT_MANIFESTS_AND_SEGMENTS: Generates media manifests for this output group, but not a master
manifest.
SEGMENTS_ONLY: Does not generate any manifests for this output group.HlsOutputSelectionpublic String getOutputSelection()
HlsOutputSelectionpublic HlsGroupSettings withOutputSelection(String outputSelection)
outputSelection - MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, and media manifests) for this
output group.
VARIANT_MANIFESTS_AND_SEGMENTS: Generates media manifests for this output group, but not a master
manifest.
SEGMENTS_ONLY: Does not generate any manifests for this output group.HlsOutputSelectionpublic HlsGroupSettings withOutputSelection(HlsOutputSelection outputSelection)
outputSelection - MANIFESTS_AND_SEGMENTS: Generates manifests (master manifest, if applicable, and media manifests) for this
output group.
VARIANT_MANIFESTS_AND_SEGMENTS: Generates media manifests for this output group, but not a master
manifest.
SEGMENTS_ONLY: Does not generate any manifests for this output group.HlsOutputSelectionpublic void setProgramDateTime(String programDateTime)
programDateTime - Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated using
the program date time clock.HlsProgramDateTimepublic String getProgramDateTime()
HlsProgramDateTimepublic HlsGroupSettings withProgramDateTime(String programDateTime)
programDateTime - Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated using
the program date time clock.HlsProgramDateTimepublic HlsGroupSettings withProgramDateTime(HlsProgramDateTime programDateTime)
programDateTime - Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated using
the program date time clock.HlsProgramDateTimepublic void setProgramDateTimeClock(String programDateTimeClock)
programDateTimeClock - Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. Options include:
INITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized as a function of the first output timecode,
then incremented by the EXTINF duration of each encoded segment.
SYSTEM_CLOCK: The PDT clock is initialized as a function of the UTC wall clock, then incremented by the
EXTINF duration of each encoded segment. If the PDT clock diverges from the wall clock by more than 500ms,
it is resynchronized to the wall clock.HlsProgramDateTimeClockpublic String getProgramDateTimeClock()
HlsProgramDateTimeClockpublic HlsGroupSettings withProgramDateTimeClock(String programDateTimeClock)
programDateTimeClock - Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. Options include:
INITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized as a function of the first output timecode,
then incremented by the EXTINF duration of each encoded segment.
SYSTEM_CLOCK: The PDT clock is initialized as a function of the UTC wall clock, then incremented by the
EXTINF duration of each encoded segment. If the PDT clock diverges from the wall clock by more than 500ms,
it is resynchronized to the wall clock.HlsProgramDateTimeClockpublic HlsGroupSettings withProgramDateTimeClock(HlsProgramDateTimeClock programDateTimeClock)
programDateTimeClock - Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. Options include:
INITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized as a function of the first output timecode,
then incremented by the EXTINF duration of each encoded segment.
SYSTEM_CLOCK: The PDT clock is initialized as a function of the UTC wall clock, then incremented by the
EXTINF duration of each encoded segment. If the PDT clock diverges from the wall clock by more than 500ms,
it is resynchronized to the wall clock.HlsProgramDateTimeClockpublic void setProgramDateTimePeriod(Integer programDateTimePeriod)
programDateTimePeriod - Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.public Integer getProgramDateTimePeriod()
public HlsGroupSettings withProgramDateTimePeriod(Integer programDateTimePeriod)
programDateTimePeriod - Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.public void setRedundantManifest(String redundantManifest)
redundantManifest - ENABLED: The master manifest (.m3u8 file) for each pipeline includes information about both pipelines:
first its own media files, then the media files of the other pipeline. This feature allows playout device
that support stale manifest detection to switch from one manifest to the other, when the current manifest
seems to be stale. There are still two destinations and two master manifests, but both master manifests
reference the media files from both pipelines.
DISABLED: The master manifest (.m3u8 file) for each pipeline includes information about its own pipeline
only.
For an HLS output group with MediaPackage as the destination, the DISABLED behavior is always followed.
MediaPackage regenerates the manifests it serves to players so a redundant manifest from MediaLive is
irrelevant.HlsRedundantManifestpublic String getRedundantManifest()
HlsRedundantManifestpublic HlsGroupSettings withRedundantManifest(String redundantManifest)
redundantManifest - ENABLED: The master manifest (.m3u8 file) for each pipeline includes information about both pipelines:
first its own media files, then the media files of the other pipeline. This feature allows playout device
that support stale manifest detection to switch from one manifest to the other, when the current manifest
seems to be stale. There are still two destinations and two master manifests, but both master manifests
reference the media files from both pipelines.
DISABLED: The master manifest (.m3u8 file) for each pipeline includes information about its own pipeline
only.
For an HLS output group with MediaPackage as the destination, the DISABLED behavior is always followed.
MediaPackage regenerates the manifests it serves to players so a redundant manifest from MediaLive is
irrelevant.HlsRedundantManifestpublic HlsGroupSettings withRedundantManifest(HlsRedundantManifest redundantManifest)
redundantManifest - ENABLED: The master manifest (.m3u8 file) for each pipeline includes information about both pipelines:
first its own media files, then the media files of the other pipeline. This feature allows playout device
that support stale manifest detection to switch from one manifest to the other, when the current manifest
seems to be stale. There are still two destinations and two master manifests, but both master manifests
reference the media files from both pipelines.
DISABLED: The master manifest (.m3u8 file) for each pipeline includes information about its own pipeline
only.
For an HLS output group with MediaPackage as the destination, the DISABLED behavior is always followed.
MediaPackage regenerates the manifests it serves to players so a redundant manifest from MediaLive is
irrelevant.HlsRedundantManifestpublic void setSegmentLength(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 duration, so actual segment length may be longer.public Integer getSegmentLength()
public HlsGroupSettings withSegmentLength(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 duration, so actual segment length may be longer.public void setSegmentationMode(String segmentationMode)
segmentationMode - useInputSegmentation has been deprecated. The configured segment size is always used.HlsSegmentationModepublic String getSegmentationMode()
HlsSegmentationModepublic HlsGroupSettings withSegmentationMode(String segmentationMode)
segmentationMode - useInputSegmentation has been deprecated. The configured segment size is always used.HlsSegmentationModepublic HlsGroupSettings withSegmentationMode(HlsSegmentationMode segmentationMode)
segmentationMode - useInputSegmentation has been deprecated. The configured segment size is always used.HlsSegmentationModepublic void setSegmentsPerSubdirectory(Integer segmentsPerSubdirectory)
segmentsPerSubdirectory - Number of segments to write to a subdirectory before starting a new one. directoryStructure must be
subdirectoryPerStream for this setting to have an effect.public Integer getSegmentsPerSubdirectory()
public HlsGroupSettings withSegmentsPerSubdirectory(Integer segmentsPerSubdirectory)
segmentsPerSubdirectory - Number of segments to write to a subdirectory before starting a new one. directoryStructure must be
subdirectoryPerStream for this setting to have an effect.public void setStreamInfResolution(String streamInfResolution)
streamInfResolution - Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.HlsStreamInfResolutionpublic String getStreamInfResolution()
HlsStreamInfResolutionpublic HlsGroupSettings withStreamInfResolution(String streamInfResolution)
streamInfResolution - Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.HlsStreamInfResolutionpublic HlsGroupSettings withStreamInfResolution(HlsStreamInfResolution streamInfResolution)
streamInfResolution - Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.HlsStreamInfResolutionpublic void setTimedMetadataId3Frame(String timedMetadataId3Frame)
timedMetadataId3Frame - Indicates ID3 frame that has the timecode.HlsTimedMetadataId3Framepublic String getTimedMetadataId3Frame()
HlsTimedMetadataId3Framepublic HlsGroupSettings withTimedMetadataId3Frame(String timedMetadataId3Frame)
timedMetadataId3Frame - Indicates ID3 frame that has the timecode.HlsTimedMetadataId3Framepublic HlsGroupSettings withTimedMetadataId3Frame(HlsTimedMetadataId3Frame timedMetadataId3Frame)
timedMetadataId3Frame - Indicates ID3 frame that has the timecode.HlsTimedMetadataId3Framepublic void setTimedMetadataId3Period(Integer timedMetadataId3Period)
timedMetadataId3Period - Timed Metadata interval in seconds.public Integer getTimedMetadataId3Period()
public HlsGroupSettings withTimedMetadataId3Period(Integer timedMetadataId3Period)
timedMetadataId3Period - Timed Metadata interval in seconds.public void setTimestampDeltaMilliseconds(Integer timestampDeltaMilliseconds)
timestampDeltaMilliseconds - Provides an extra millisecond delta offset to fine tune the timestamps.public Integer getTimestampDeltaMilliseconds()
public HlsGroupSettings withTimestampDeltaMilliseconds(Integer timestampDeltaMilliseconds)
timestampDeltaMilliseconds - Provides an extra millisecond delta offset to fine tune the timestamps.public void setTsFileMode(String tsFileMode)
tsFileMode - SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.
SINGLE_FILE: Applies only if Mode field is VOD. Emit the program as a single .ts media file. The media
manifest includes #EXT-X-BYTERANGE tags to index segments for playback. A typical use for this value is
when sending the output to AWS Elemental MediaConvert, which can accept only a single media file. Playback
while the channel is running is not guaranteed due to HTTP server caching.HlsTsFileModepublic String getTsFileMode()
HlsTsFileModepublic HlsGroupSettings withTsFileMode(String tsFileMode)
tsFileMode - SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.
SINGLE_FILE: Applies only if Mode field is VOD. Emit the program as a single .ts media file. The media
manifest includes #EXT-X-BYTERANGE tags to index segments for playback. A typical use for this value is
when sending the output to AWS Elemental MediaConvert, which can accept only a single media file. Playback
while the channel is running is not guaranteed due to HTTP server caching.HlsTsFileModepublic HlsGroupSettings withTsFileMode(HlsTsFileMode tsFileMode)
tsFileMode - SEGMENTED_FILES: Emit the program as segments - multiple .ts media files.
SINGLE_FILE: Applies only if Mode field is VOD. Emit the program as a single .ts media file. The media
manifest includes #EXT-X-BYTERANGE tags to index segments for playback. A typical use for this value is
when sending the output to AWS Elemental MediaConvert, which can accept only a single media file. Playback
while the channel is running is not guaranteed due to HTTP server caching.HlsTsFileModepublic String toString()
toString in class ObjectObject.toString()public HlsGroupSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.