Do not collect playback metrics when paused
This commit is contained in:
@@ -149,6 +149,11 @@ class PlaybackMetrics {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If we're paused then do nothing.
|
||||||
|
if (this.player.paused()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const bandwidth = tech.vhs.systemBandwidth;
|
const bandwidth = tech.vhs.systemBandwidth;
|
||||||
this.trackBandwidth(bandwidth);
|
this.trackBandwidth(bandwidth);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user