mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Do not collect playback metrics when paused
This commit is contained in:
parent
748ada13d3
commit
a6b1d0ec94
@ -149,6 +149,11 @@ class PlaybackMetrics {
|
||||
return;
|
||||
}
|
||||
|
||||
// If we're paused then do nothing.
|
||||
if (this.player.paused()) {
|
||||
return;
|
||||
}
|
||||
|
||||
const bandwidth = tech.vhs.systemBandwidth;
|
||||
this.trackBandwidth(bandwidth);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user