Interface M3u8SettingsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
M3u8SettingsProps.Jsii$Proxy
PID properties accept a decimal or hexadecimal value (and, where noted, ranges or
comma-separated lists). Interval properties are Duration values rendered as milliseconds.
Example:
IBucket bucket;
EncodeConfiguration video;
EncodeConfiguration audio;
OutputGroupConfiguration.hls(HlsOutputGroupProps.builder()
.name("hls")
.destinations(List.of(OutputDestination.toBucket(bucket, "live/stream")))
.outputs(List.of(HlsOutputDefinition.builder()
.encodes(List.of(video))
.outputName("video")
.hlsSettings(HlsSettings.standard(StandardHlsSettingsProps.builder()
.m3u8Settings(M3u8Settings.of(M3u8SettingsProps.builder()
.scte35Behavior(M3u8Scte35Behavior.PASSTHROUGH)
.programNum(1)
.build()))
.build()))
.build(), HlsOutputDefinition.builder()
.encodes(List.of(audio))
.outputName("audio")
.hlsSettings(HlsSettings.audioOnly(AudioOnlyHlsSettingsProps.builder()
.audioGroupId("program")
.audioOnlyImage(FileLocation.fromBucket(bucket, "art/cover.png"))
.build()))
.build()))
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forM3u8SettingsPropsstatic final classAn implementation forM3u8SettingsProps -
Method Summary
Modifier and TypeMethodDescriptionstatic M3u8SettingsProps.Builderbuilder()default Number(experimental) The number of audio frames to insert for each PES packet.default String(experimental) The PID(s) of the elementary audio streams.default M3u8KlvBehavior(experimental) KLV data passthrough behavior.default String(experimental) The PID(s) of the KLV data streams.default M3u8NielsenId3Behavior(experimental) Nielsen ID3 passthrough behavior.default Duration(experimental) The interval between instances of the PAT in the output.default M3u8PcrControl(experimental) Controls insertion of the Program Clock Reference (PCR).default Duration(experimental) The maximum interval between Program Clock References (PCRs).default String(experimental) The PID of the Program Clock Reference (PCR).default Duration(experimental) The interval between instances of the PMT in the output.default String(experimental) The PID of the Program Map Table (PMT).default Number(experimental) The value of the program number field in the PMT.default M3u8Scte35Behavior(experimental) SCTE-35 passthrough behavior.default String(experimental) The PID of the SCTE-35 stream.default M3u8TimedMetadataBehavior(experimental) Timed-metadata passthrough behavior.default String(experimental) The PID of the timed-metadata stream.default Number(experimental) The value of the transport stream ID field in the PMT.default String(experimental) The PID of the elementary video stream.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAudioFramesPerPes
(experimental) The number of audio frames to insert for each PES packet.Default: - service default
-
getAudioPids
(experimental) The PID(s) of the elementary audio streams.Accepts ranges and comma separation.
Default: - service default
-
getKlvBehavior
(experimental) KLV data passthrough behavior.Default: - service default
-
getKlvDataPids
(experimental) The PID(s) of the KLV data streams.Default: - service default
-
getNielsenId3Behavior
(experimental) Nielsen ID3 passthrough behavior.Default: - service default
-
getPatInterval
(experimental) The interval between instances of the PAT in the output.A value of 0 writes the PAT once per segment file.
Default: - service default
-
getPcrControl
(experimental) Controls insertion of the Program Clock Reference (PCR).Default: - service default
-
getPcrPeriod
(experimental) The maximum interval between Program Clock References (PCRs).Default: - service default
-
getPcrPid
(experimental) The PID of the Program Clock Reference (PCR).Defaults to the video PID.
Default: - same as the video PID
-
getPmtInterval
(experimental) The interval between instances of the PMT in the output.A value of 0 writes the PMT once per segment file.
Default: - service default
-
getPmtPid
(experimental) The PID of the Program Map Table (PMT).Default: - service default
-
getProgramNum
(experimental) The value of the program number field in the PMT.Default: - service default
-
getScte35Behavior
(experimental) SCTE-35 passthrough behavior.Default: - service default
-
getScte35Pid
(experimental) The PID of the SCTE-35 stream.Default: - service default
-
getTimedMetadataBehavior
(experimental) Timed-metadata passthrough behavior.Default: - service default
-
getTimedMetadataPid
(experimental) The PID of the timed-metadata stream.Valid values are 32 (0x20)..8182 (0x1ff6).
Default: - service default
-
getTransportStreamId
(experimental) The value of the transport stream ID field in the PMT.Default: - service default
-
getVideoPid
(experimental) The PID of the elementary video stream.Default: - service default
-
builder
- Returns:
- a
M3u8SettingsProps.BuilderofM3u8SettingsProps
-