Home > hls.js > AbrController

AbrController class

Signature:

declare class AbrController extends Logger implements AbrComponentAPI 

Extends: Logger

Implements: AbrComponentAPI

Constructors

Constructor

Modifiers

Description

(constructor)(hls)

Constructs a new instance of the AbrController class

Properties

Property

Modifiers

Type

Description

bwEstimator

EwmaBandWidthEstimator

firstAutoLevel

readonly

number

forcedAutoLevel

readonly

number

hls

protected

Hls

nextAutoLevel

number

Methods

Method

Modifiers

Description

clearTimer()

destroy()

onError(event, data)

protected

onFragBuffered(event, data)

protected

onFragLoaded(event, { frag, part })

protected

onFragLoading(event, data)

protected

onLevelLoaded(event, data)

protected

onLevelSwitching(event, data)

protected

onManifestLoading(event, data)

protected

registerListeners()

protected

resetEstimator(abrEwmaDefaultEstimate)

unregisterListeners()

protected