Skip to content
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

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.

See HlsOutputPlaylistInfo.

Released under the Mozilla Public License 2.0.