Home > hls.js > EwmaBandWidthEstimator

EwmaBandWidthEstimator class

Signature:

declare class EwmaBandWidthEstimator 

Constructors

Constructor

Modifiers

Description

(constructor)(slow, fast, defaultEstimate, defaultTTFB)

Constructs a new instance of the EwmaBandWidthEstimator class

Properties

Property

Modifiers

Type

Description

defaultEstimate

readonly

number

Methods

Method

Modifiers

Description

canEstimate()

destroy()

getEstimate()

getEstimateTTFB()

sample(durationMs, numBytes)

sampleTTFB(ttfb)

update(slow, fast)