You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inspired from Shaka-Player:
average bandwidth is now the minimum of two exponentially-weighted moving averages with different half-lives.
default halflifes are set to zero (no EWMA) to keep behaviour unchanged
related to https://github.com/dailymotion/hls.js/pull/467
Copy file name to clipboardExpand all lines: API.md
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -483,14 +483,20 @@ this helps playback continue in certain cases that might otherwise get stuck.
483
483
484
484
parameter should be a boolean
485
485
486
-
#### ```abrBandwidthWeight```
487
-
(default : 1.0)
486
+
#### ```abrEwmaFast```
487
+
(default : 0.0)
488
488
489
-
The weight to apply to the current bandwidth measurement when calculating the Exponentially-Weighted Moving Average (EWMA) of the bandwidth in the ABR controller.
489
+
Fast bitrate Exponential moving average half-life , used to compute average bitrate
490
+
Half of the estimate is based on the last abrEwmaFast seconds of sample history.
491
+
parameter should be a float greater than 0
490
492
491
-
If ```α := abrBandwidthWeight```, then ```bandwidth average := (α * latest bandwidth measurement) + ((1- α) * previous bandwidth average)```.
493
+
#### ```abrEwmaSlow```
494
+
(default : 0.0)
495
+
496
+
Slow bitrate Exponential moving average half-life , used to compute average bitrate
497
+
Half of the estimate is based on the last abrEwmaFast seconds of sample history.
498
+
parameter should be a float greater than abrEwmaFast
492
499
493
-
parameter should be a float in the range (0.0, 1.0]
0 commit comments