AbrController
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
fragCurrent: * |
|
public |
hls: * |
|
public |
|
|
public get |
|
|
public set |
|
|
public |
onCheck: * |
|
public |
timer: * |
Private Members | ||
private |
_bwEstimator: * |
|
private get |
|
|
private |
|
Method Summary
Public Methods | ||
public |
|
|
public |
destroy() |
|
public |
onError(data: *) |
|
public |
onFragBuffered(data: *) |
|
public |
onFragLoaded(data: *) |
|
public |
onFragLoading(data: *) |
Private Methods | ||
private |
|
|
private |
_findBestLevel(currentLevel: *, currentFragDuration: *, currentBw: *, minAutoLevel: *, maxAutoLevel: *, maxFetchDuration: *, bwFactor: *, bwUpFactor: *, levels: *): * |
Inherited Summary
From class EventHandler | ||
public |
|
|
public |
hls: * |
|
public |
|
|
public |
destroy() |
|
public |
isEventHandler(): * |
|
public |
onEvent(event: *, data: *) arguments: event (string), data (any) |
|
public |
onEventGeneric(event: *, data: *) |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Public Constructors
Public Members
public bitrateTestDelay: * source
public fragCurrent: * source
public get nextAutoLevel: * source
public set nextAutoLevel source
public onCheck: * source
public timer: * source
Private Members
private _bwEstimator: * source
private get _nextABRAutoLevel: * source
private _nextAutoLevel: * source
Public Methods
public clearTimer() source
public onError(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragBuffered(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragLoaded(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragLoading(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
Private Methods
private _abandonRulesCheck() source
private _findBestLevel(currentLevel: *, currentFragDuration: *, currentBw: *, minAutoLevel: *, maxAutoLevel: *, maxFetchDuration: *, bwFactor: *, bwUpFactor: *, levels: *): * source
Params:
Name | Type | Attribute | Description |
currentLevel | * | ||
currentFragDuration | * | ||
currentBw | * | ||
minAutoLevel | * | ||
maxAutoLevel | * | ||
maxFetchDuration | * | ||
bwFactor | * | ||
bwUpFactor | * | ||
levels | * |
Return:
* |