diff --git a/client/src/assets/player/shared/metrics/metrics-plugin.ts b/client/src/assets/player/shared/metrics/metrics-plugin.ts index c8b61592c..6ca368f87 100644 --- a/client/src/assets/player/shared/metrics/metrics-plugin.ts +++ b/client/src/assets/player/shared/metrics/metrics-plugin.ts @@ -144,6 +144,8 @@ class MetricsPlugin extends Plugin { this.player.on('http-info', (_event, data: PlayerNetworkInfo) => { this.downloadedBytesHTTP += Math.round(data.http.downloaded - (this.lastPlayerNetworkInfo?.http.downloaded || 0)) + + this.lastPlayerNetworkInfo = data }) }