Home Reference Source
import EwmaBandWidthEstimator from 'hls.js/src/utils/ewma-bandwidth-estimator.js'
public class | source

EwmaBandWidthEstimator

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

fast_: *

public

hls: *

public
public
public

slow_: *

Method Summary

Public Methods
public
public
public
public

sample(durationMs: *, numBytes: *)

Public Constructors

public constructor() source

Public Members

public defaultEstimate_: * source

public fast_: * source

public hls: * source

public minDelayMs_: number source

public minWeight_: number source

public slow_: * source

Public Methods

public canEstimate(): * source

Return:

*

public destroy() source

public getEstimate(): * source

Return:

*

public sample(durationMs: *, numBytes: *) source

Params:

NameTypeAttributeDescription
durationMs *
numBytes *