Skip to content

Function: parseHlsManifest() ​

ts
function parseHlsManifest(text?): HlsManifest;

Defined in: utils/hls/parseHlsManifest.ts:32

Internal

Parse an HLS manifest with the parser from setHlsParser.

Parameters ​

text? ​

string

Text of the manifest

Returns ​

HlsManifest

parsed manifest. In case the text is empty, returns an empty object.

A Streaming Video Technology Alliance project.