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 |
getDeliveryDirectives(details: LevelDetails, previousDeliveryDirectives: undefined, msn: number, part: number): HlsUrlParameters |
|
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: undefined): * |
Public Constructors
public constructor() source
Public Methods
public clearTimer() source
public destroy() source
public getDeliveryDirectives(details: LevelDetails, previousDeliveryDirectives: undefined, msn: number, part: number): HlsUrlParameters source
Params:
Name | Type | Attribute | Description |
details | LevelDetails | ||
previousDeliveryDirectives | undefined | ||
msn | number | ||
part | number |
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 |