Interface SegmentConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SegmentConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T09:32:03.746Z")
@Stability(Experimental)
public interface SegmentConfiguration
extends software.amazon.jsii.JsiiSerializable
(experimental) The segment configuration, including the segment name, duration, and other configuration values.
Example:
Channel channel;
IRole spekeRole;
OriginEndpoint.Builder.create(this, "TsEndpoint")
.channel(channel)
.segment(Segment.ts(TsSegmentProps.builder()
.encryption(TsEncryption.speke(TsSpekeEncryptionProps.builder()
.method(TsEncryptionMethod.SAMPLE_AES)
.resourceId("my-content-id")
.url("https://example.com/speke")
.role(spekeRole)
.build()))
.build()))
.manifests(List.of(Manifest.hls(HlsManifestConfiguration.builder().manifestName("index").build())))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSegmentConfigurationstatic final classAn implementation forSegmentConfiguration -
Method Summary
Modifier and TypeMethodDescriptionstatic SegmentConfiguration.Builderbuilder()(experimental) The container type for this segment (TS or CMAF).default EncryptionConfiguration(experimental) Encryption configuration for the segment.default Boolean(experimental) Whether the segment includes I-frame-only streams.default List<ScteMessageType> (experimental) The SCTE-35 configuration associated with the segment.default ScteInSegments(experimental) Controls whether SCTE-35 messages are included in segment files.default Duration(experimental) The duration of the segments.default String(experimental) The name of the segment associated with the origin endpoint.default Boolean(experimental) Whether the segment includes DVB subtitles.default Boolean(experimental) Whether the segment is an audio rendition group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerType
(experimental) The container type for this segment (TS or CMAF). -
getEncryption
(experimental) Encryption configuration for the segment.Default: - No encryption
-
getIncludeIframeOnlyStreams
(experimental) Whether the segment includes I-frame-only streams.Default: undefined - Not specified.
-
getScteFilter
(experimental) The SCTE-35 configuration associated with the segment.The SCTE-35 message types that you want to be treated as ad markers in the output.
Default: - No SCTE filtering
-
getScteInSegments
(experimental) Controls whether SCTE-35 messages are included in segment files.Default: - SCTE-35 messages are not included in segments
-
getSegmentDuration
(experimental) The duration of the segments.Default: 6
-
getSegmentName
(experimental) The name of the segment associated with the origin endpoint.Default: segment
-
getTsIncludeDvbSubtitles
(experimental) Whether the segment includes DVB subtitles.Default: false
-
getTsUseAudioRenditionGroup
(experimental) Whether the segment is an audio rendition group.Default: false
-
builder
- Returns:
- a
SegmentConfiguration.BuilderofSegmentConfiguration
-