import BasePlaylistController from 'hls.js/src/controller/base-playlist-controller.ts'
BasePlaylistController
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
|
|
public |
destroy() |
|
public |
loadPlaylist(hlsUrlParameters: HlsUrlParameters) |
|
public |
|
|
public |
playlistLoaded(index: number, data: undefined, previousDetails: LevelDetails) |
|
public |
retryLoadingOrFail(errorEvent: ErrorData): boolean |
|
public |
shouldLoadTrack(track: MediaPlaylist): boolean |
|
public |
|
|
public |
stopLoad() |
|
public |
switchParams(playlistUri: string, previous: LevelDetails): * |
Public Constructors
public constructor() source
Public Methods
public clearTimer() source
public destroy() source
public loadPlaylist(hlsUrlParameters: HlsUrlParameters) source
Params:
Name | Type | Attribute | Description |
hlsUrlParameters | HlsUrlParameters |
public onError(event: undefined, data: ErrorData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | ErrorData |
public playlistLoaded(index: number, data: undefined, previousDetails: LevelDetails) source
Params:
Name | Type | Attribute | Description |
index | number | ||
data | undefined | ||
previousDetails | LevelDetails |
public retryLoadingOrFail(errorEvent: ErrorData): boolean source
Params:
Name | Type | Attribute | Description |
errorEvent | ErrorData |
public shouldLoadTrack(track: MediaPlaylist): boolean source
Params:
Name | Type | Attribute | Description |
track | MediaPlaylist |
public startLoad() source
public stopLoad() source
public switchParams(playlistUri: string, previous: LevelDetails): * source
Params:
Name | Type | Attribute | Description |
playlistUri | string | ||
previous | LevelDetails |
Return:
* |