ThroughputModel

new ThroughputModel(config)

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

Parameters:
NameTypeDescription
configobject

Methods

(inner) addEntry(mediaType, httpRequest)

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

Parameters:
NameTypeDescription
mediaTypeMediaType
httpRequestobject

(inner) reset()

Reset all values