Home Reference Source
import M3U8Parser from 'hls.js/src/loader/m3u8-parser.ts'
public class | source

M3U8Parser

Static Method Summary

Static Public Methods
public static
public static

findGroup(groups: Array, mediaGroupId: string): *

public static

parseLevelPlaylist(string: string, baseurl: string, id: number, type: PlaylistLevelType, levelUrlId: number): LevelDetails

public static

parseMasterPlaylist(string: string, baseurl: string): ParsedMultiVariantPlaylist

public static

parseMasterPlaylistMedia(string: string, baseurl: string, type: MediaPlaylistType, groups: Array): Array

public static

resolve(url: undefined, baseUrl: undefined): *

Static Public Methods

public static convertAVC1ToAVCOTI(codec: undefined): * source

Params:

NameTypeAttributeDescription
codec undefined

Return:

*

public static findGroup(groups: Array, mediaGroupId: string): * source

Params:

NameTypeAttributeDescription
groups Array
mediaGroupId string

Return:

*

public static parseLevelPlaylist(string: string, baseurl: string, id: number, type: PlaylistLevelType, levelUrlId: number): LevelDetails source

Params:

NameTypeAttributeDescription
string string
baseurl string
id number
type PlaylistLevelType
levelUrlId number

Return:

LevelDetails

public static parseMasterPlaylist(string: string, baseurl: string): ParsedMultiVariantPlaylist source

Params:

NameTypeAttributeDescription
string string
baseurl string

Return:

ParsedMultiVariantPlaylist

public static parseMasterPlaylistMedia(string: string, baseurl: string, type: MediaPlaylistType, groups: Array): Array source

Params:

NameTypeAttributeDescription
string string
baseurl string
type MediaPlaylistType
groups Array

Return:

Array

public static resolve(url: undefined, baseUrl: undefined): * source

Params:

NameTypeAttributeDescription
url undefined
baseUrl undefined

Return:

*