LevelController
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public get |
firstLevel: * |
|
public set |
|
|
public get |
level: * |
|
public set |
|
|
public |
|
|
public get |
levels: * |
|
public get |
manualLevel: * |
|
public set |
|
|
public |
|
|
public get |
|
|
public set |
|
|
public get |
startLevel: * |
|
public set |
|
|
public |
timer: * |
Private Members | ||
private |
_firstLevel: * |
|
private |
_levels: * |
|
private |
_startLevel: * |
Method Summary
Public Methods | ||
public |
|
|
public |
|
|
public |
onAudioTrackSwitched(data: *) |
|
public |
onError(data: *) |
|
public |
onFragLoaded(objectPattern: {"frag": *}) |
|
public |
|
|
public |
onLevelLoaded(data: *) |
|
public |
onManifestLoaded(data: *) |
|
public |
recoverLevel(errorEvent: Object, levelIndex: Number, levelError: Boolean, fragmentError: Boolean) Switch to a redundant stream if any available. |
|
public |
setLevelInternal(newLevel: *) |
|
public |
|
|
public |
stopLoad() |
Public Constructors
public constructor() source
Public Members
public currentLevelIndex: * source
public get firstLevel: * source
public set firstLevel source
public get level: * source
public set level source
public get levels: * source
public get manualLevel: * source
public set manualLevel source
public manualLevelIndex: * source
public get nextLoadLevel: * source
public set nextLoadLevel source
public get startLevel: * source
public set startLevel source
public timer: * source
Private Members
private _firstLevel: * source
private _levels: * source
private _startLevel: * source
Public Methods
public clearTimer() source
public loadLevel() source
public onAudioTrackSwitched(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onError(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragLoaded(objectPattern: {"frag": *}) source
Params:
Name | Type | Attribute | Description |
objectPattern | {"frag": *} |
|
public onHandlerDestroying() source
public onLevelLoaded(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onManifestLoaded(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public recoverLevel(errorEvent: Object, levelIndex: Number, levelError: Boolean, fragmentError: Boolean) source
Switch to a redundant stream if any available. If redundant stream is not available, emergency switch down if ABR mode is enabled.
public setLevelInternal(newLevel: *) source
Params:
Name | Type | Attribute | Description |
newLevel | * |