Home > hls.js > BasePlaylistController

BasePlaylistController class

Signature:

export default class BasePlaylistController extends Logger implements NetworkComponentAPI 

Extends: Logger

Implements: NetworkComponentAPI

Constructors

Constructor

Modifiers

Description

(constructor)(hls, logPrefix)

Constructs a new instance of the BasePlaylistController class

Properties

Property

Modifiers

Type

Description

canLoad

protected

boolean

hls

protected

Hls

requestScheduled

protected

number

timer

protected

number

Methods

Method

Modifiers

Description

checkRetry(errorEvent)

protected

clearTimer()

protected

destroy()

loadPlaylist(hlsUrlParameters)

protected

playlistLoaded(index, data, previousDetails)

protected

shouldLoadPlaylist(playlist)

protected

shouldReloadPlaylist(playlist)

protected

startLoad()

stopLoad()

switchParams(playlistUri, previous, current)

protected