# Class: ThroughputModel

## ThroughputModel

#### new ThroughputModel(config)

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

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `config` | object |

  Source:
    - streaming/models/ThroughputModel.js, line 45

### 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:
    - streaming/models/ThroughputModel.js, line 80

#### <inner> reset()

  Reset all values

  Source:
    - streaming/models/ThroughputModel.js, line 391

#### Search results