Type
HlsOutputSegmentInfo
Info about an HLS media segment.
ts
type HlsOutputSegmentInfo = {
n: number;
isSingleFile: boolean;
format: OutputFormat;
playlist: HlsOutputPlaylistInfo;
};See OutputFormat and HlsOutputPlaylistInfo.
Used by
HlsOutputFormatOptions.getSegmentPathHlsOutputFormatOptions.onSegmentHlsOutputFormatOptions.onSegmentPopped
Properties
n
ts
n: number;The 1-based index of the segment in the containing media playlist.
isSingleFile
ts
isSingleFile: boolean;If the segment is a single file, meaning it is a single segment file that covers the entire playlist.
format
ts
format: OutputFormat;The format of the media segment.
See OutputFormat.
playlist
ts
playlist: HlsOutputPlaylistInfo;The media playlist to which this segment belongs.