Class: ThroughputModel

ThroughputModel


new ThroughputModel(config)

Throughput generally stored in kbit/s
Latency generally stored in ms

Parameters:
Name Type Description
config object
Source:

Methods


<inner> addEntry(mediaType, httpRequest)

Use the provided request to add new entries for throughput and latency. Update the EWMA state as well.

Parameters:
Name Type Description
mediaType MediaType
httpRequest object
Source:

<inner> reset()

Reset all values

Source: