Home > hls.js > BasePlaylistController
BasePlaylistController class
Signature:
export default class BasePlaylistController implements NetworkComponentAPI 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 | |
| log | protected |
(msg: any) => void | |
| requestScheduled | protected |
number | |
| timer | protected |
number | |
| warn | protected |
(msg: any) => void |
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) | protected |