Interface HlsOutputGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HlsOutputGroupProps.Jsii$Proxy
Example:
Stack stack;
IInput input;
IBucket bucket;
EncodeConfiguration video;
Channel.Builder.create(stack, "Channel")
.inputs(List.of(InputAttachment.builder().input(input).build()))
.availBlanking(AvailBlanking.builder()
.state(AvailBlankingState.ENABLED)
.image(FileLocation.fromBucket(bucket, "slates/avail.png"))
.build())
.blackoutSlate(BlackoutSlate.builder()
.state(BlackoutSlateState.ENABLED)
.image(FileLocation.fromBucket(bucket, "slates/blackout.png"))
.build())
.outputGroups(List.of(OutputGroupConfiguration.hls(HlsOutputGroupProps.builder()
.name("hls")
.destinations(List.of(OutputDestination.toBucket(bucket, "live/stream")))
.outputs(List.of(HlsOutputDefinition.builder().encodes(List.of(video)).outputName("hls_out").build()))
.build())))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHlsOutputGroupPropsstatic final classAn implementation forHlsOutputGroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic HlsOutputGroupProps.Builderbuilder()default List<HlsAdMarkers> (experimental) Chooses one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.default String(experimental) A partial URI prefix that will be prepended to each output in the media .m3u8 file.default String(experimental) Optional base URL content for pipeline 1 if different from pipeline 0.default String(experimental) A partial URI prefix that will be prepended to each output in the media .m3u8 file for the manifest.default String(experimental) Optional base URL manifest for pipeline 1 if different from pipeline 0.default List<CaptionLanguageMapping> (experimental) A mapping of up to 4 captions channels to captions languages.default HlsCaptionLanguageSetting(experimental) Applies only to 608 embedded output captions.default HlsClientCache(experimental) When set to DISABLED, sets the #EXT-X-ALLOW-CACHE:no tag in the manifest.default HlsCodecSpecification(experimental) The specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.default String(experimental) A 128-bit, 16-byte hex value represented by a 32-character text string used as the IV for encryption.(experimental) The destinations for this output group — one per pipeline.default HlsDirectoryStructure(experimental) Places segments in subdirectories.default HlsDiscontinuityTags(experimental) Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests.default HlsEncryptionType(experimental) Encrypts the segments with the specified encryption scheme.default HlsCdnSettings(experimental) Settings to configure the CDN for the HLS output.default HlsId3SegmentTaggingState(experimental) State of HLS ID3 Segment Tagging.default HlsIFrameOnlyPlaylists(experimental) Whether to create an I-frame-only manifest.default HlsIncompleteSegmentBehavior(experimental) Specifies whether to include the final (incomplete) segment in the media output.default Number(experimental) The maximum number of segments in the media manifest (LIVE mode only).default HlsInputLossAction(experimental) Action to take when the input is lost.default HlsIvInManifest(experimental) Whether the IV is listed in the manifest.default HlsIvSource(experimental) Whether the IV follows the segment number or is explicit.default Number(experimental) The number of segments to retain in the destination directory (LIVE mode only).default String(experimental) Specifies how the key is represented in the resource identified by the URI.default String(experimental) Either a single positive integer version value or a slash-delimited list of version values (1/2/3).default HlsKeyProviderSettings(experimental) The key provider settings for HLS encryption.default HlsManifestCompression(experimental) When set to GZIP, compresses HLS playlist.default HlsManifestDurationFormat(experimental) Indicates whether the output manifest should use floating point or integer values for segment duration.default Segment(experimental) The minimum segment length.default HlsModegetMode()(experimental) The output mode — LIVE or VOD.getName()(experimental) The name of this output group.default List<HlsOutputDefinition> (experimental) The outputs for this HLS output group.default HlsOutputSelection(experimental) Controls which manifests and segments are generated.default HlsProgramDateTime(experimental) Includes or excludes the EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files.default HlsProgramDateTimeClock(experimental) Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock.default Duration(experimental) The period of insertion of the EXT-X-PROGRAM-DATE-TIME entry.default HlsRedundantManifest(experimental) Whether the master manifest includes information about both pipelines.default Segment(experimental) The length of each media segment.default HlsSegmentationMode(experimental) The segmentation mode.default Number(experimental) The number of segments to write to a subdirectory before starting a new one.default HlsStreamInfResolution(experimental) Whether to include or exclude the RESOLUTION attribute for a video in the EXT-X-STREAM-INF tag.default HlsTimedMetadataId3Frame(experimental) Indicates the ID3 frame that has the timecode.default Duration(experimental) The timed metadata interval.default Duration(experimental) Provides an extra delta offset to fine tune the timestamps.default HlsTsFileMode(experimental) Whether to emit segmented files or a single file.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinations
(experimental) The destinations for this output group — one per pipeline.Array position determines the pipeline mapping:
destinations[0]→ Pipeline 0destinations[1]→ Pipeline 1 (STANDARD channels only)
For a SINGLE_PIPELINE channel, provide exactly 1 destination. For a STANDARD channel, provide exactly 2 destinations.
-
getName
(experimental) The name of this output group.Used as the destination reference ID. Underscores are normalised to hyphens internally.
-
getAdMarkers
(experimental) Chooses one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.Default: - no ad markers
-
getBaseUrlContent
(experimental) A partial URI prefix that will be prepended to each output in the media .m3u8 file.Default: - no base URL content prefix
-
getBaseUrlContent1
(experimental) Optional base URL content for pipeline 1 if different from pipeline 0.Default: - no base URL content 1
-
getBaseUrlManifest
(experimental) A partial URI prefix that will be prepended to each output in the media .m3u8 file for the manifest.Default: - no base URL manifest prefix
-
getBaseUrlManifest1
(experimental) Optional base URL manifest for pipeline 1 if different from pipeline 0.Default: - no base URL manifest 1
-
getCaptionLanguageMappings
@Stability(Experimental) @Nullable default List<CaptionLanguageMapping> getCaptionLanguageMappings()(experimental) A mapping of up to 4 captions channels to captions languages.Meaningful only if captionLanguageSetting is set to INSERT.
Default: - no caption language mappings
-
getCaptionLanguageSetting
(experimental) Applies only to 608 embedded output captions.Default: - service default
-
getClientCache
(experimental) When set to DISABLED, sets the #EXT-X-ALLOW-CACHE:no tag in the manifest.Default: HlsClientCache.ENABLED
-
getCodecSpecification
(experimental) The specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.Default: HlsCodecSpecification.RFC_4281
-
getConstantIv
(experimental) A 128-bit, 16-byte hex value represented by a 32-character text string used as the IV for encryption.Used with encryptionType when ivSource is set to EXPLICIT.
Default: - no constant IV
-
getDirectoryStructure
(experimental) Places segments in subdirectories.Default: HlsDirectoryStructure.SINGLE_DIRECTORY
-
getDiscontinuityTags
(experimental) Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests.Default: HlsDiscontinuityTags.INSERT
-
getEncryptionType
(experimental) Encrypts the segments with the specified encryption scheme.Default: - no encryption
-
getHlsCdnSettings
(experimental) Settings to configure the CDN for the HLS output.Default: - service default
-
getHlsId3SegmentTagging
(experimental) State of HLS ID3 Segment Tagging.Default: HlsId3SegmentTaggingState.DISABLED
-
getIFrameOnlyPlaylists
(experimental) Whether to create an I-frame-only manifest.Default: HlsIFrameOnlyPlaylists.DISABLED
-
getIncompleteSegmentBehavior
@Stability(Experimental) @Nullable default HlsIncompleteSegmentBehavior getIncompleteSegmentBehavior()(experimental) Specifies whether to include the final (incomplete) segment in the media output.Default: HlsIncompleteSegmentBehavior.AUTO
-
getIndexNSegments
(experimental) The maximum number of segments in the media manifest (LIVE mode only).Default: 10
-
getInputLossAction
(experimental) Action to take when the input is lost.Default: HlsInputLossAction.EMIT_OUTPUT
-
getIvInManifest
(experimental) Whether the IV is listed in the manifest.Default: - service default
-
getIvSource
(experimental) Whether the IV follows the segment number or is explicit.Default: - service default
-
getKeepSegments
(experimental) The number of segments to retain in the destination directory (LIVE mode only).Default: 21
-
getKeyFormat
(experimental) Specifies how the key is represented in the resource identified by the URI.Default: - service default
-
getKeyFormatVersions
(experimental) Either a single positive integer version value or a slash-delimited list of version values (1/2/3).Default: - service default
-
getKeyProviderSettings
(experimental) The key provider settings for HLS encryption.Default: - no key provider settings
-
getManifestCompression
(experimental) When set to GZIP, compresses HLS playlist.Default: HlsManifestCompression.NONE
-
getManifestDurationFormat
(experimental) Indicates whether the output manifest should use floating point or integer values for segment duration.Default: HlsManifestDurationFormat.FLOATING_POINT
-
getMinSegment
(experimental) The minimum segment length.HLS supports whole-second segments only.
Default: - service default
-
getMode
(experimental) The output mode — LIVE or VOD.Default: HlsMode.LIVE
-
getOutputs
(experimental) The outputs for this HLS output group.Default: - no initial outputs
-
getOutputSelection
(experimental) Controls which manifests and segments are generated.Default: HlsOutputSelection.MANIFESTS_AND_SEGMENTS
-
getProgramDateTime
(experimental) Includes or excludes the EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files.Default: HlsProgramDateTime.INCLUDE
-
getProgramDateTimeClock
(experimental) Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock.Default: - HlsProgramDateTimeClock.SYSTEM_CLOCK, or INITIALIZE_FROM_OUTPUT_TIMECODE with epoch locking
-
getProgramDateTimePeriod
(experimental) The period of insertion of the EXT-X-PROGRAM-DATE-TIME entry.Default: Duration.minutes(10)
-
getRedundantManifest
(experimental) Whether the master manifest includes information about both pipelines.Default: HlsRedundantManifest.DISABLED
-
getSegment
(experimental) The length of each media segment.HLS supports whole-second segments only.
Default: - Segment.seconds(2)
-
getSegmentationMode
(experimental) The segmentation mode.Default: HlsSegmentationMode.USE_SEGMENT_DURATION
-
getSegmentsPerSubdirectory
(experimental) The number of segments to write to a subdirectory before starting a new one.Default: 10000
-
getStreamInfResolution
(experimental) Whether to include or exclude the RESOLUTION attribute for a video in the EXT-X-STREAM-INF tag.Default: HlsStreamInfResolution.INCLUDE
-
getTimedMetadataId3Frame
(experimental) Indicates the ID3 frame that has the timecode.Default: HlsTimedMetadataId3Frame.PRIV
-
getTimedMetadataId3Period
(experimental) The timed metadata interval.Default: Duration.seconds(10)
-
getTimestampDelta
(experimental) Provides an extra delta offset to fine tune the timestamps.Default: - service default
-
getTsFileMode
(experimental) Whether to emit segmented files or a single file.Default: HlsTsFileMode.SEGMENTED_FILES
-
builder
- Returns:
- a
HlsOutputGroupProps.BuilderofHlsOutputGroupProps
-