Configuration of the average throughput calculation modes
dash.js provides multiple options to configure the calculation of the current average throughput. This calculation is an important input for most of the ABR rules. In this example we change the default mode to byte size weighted harmonic mean. In addition, we change the number of samples to be used to five and disable the automatic adjustment of the sample size.
For a complete list of options and an explanation on the different calculation modes check our documentation.