aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/webtorrent/webtorrent-plugin.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-27 15:50:29 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-04-28 09:05:44 +0200
commit4e11d8f3ca65bb1ffd0f42fa1521eabc5f3d7713 (patch)
tree3867f59d312d10de25d76f8be3c18eeca5bcebf3 /client/src/assets/player/webtorrent/webtorrent-plugin.ts
parentff563914bb10728301a24fb9e548c9efb62387eb (diff)
downloadPeerTube-4e11d8f3ca65bb1ffd0f42fa1521eabc5f3d7713.tar.gz
PeerTube-4e11d8f3ca65bb1ffd0f42fa1521eabc5f3d7713.tar.zst
PeerTube-4e11d8f3ca65bb1ffd0f42fa1521eabc5f3d7713.zip
Cleanup stats for nerds
Diffstat (limited to 'client/src/assets/player/webtorrent/webtorrent-plugin.ts')
-rw-r--r--client/src/assets/player/webtorrent/webtorrent-plugin.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
index e557fe722..6f5fbe4c9 100644
--- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts
+++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
@@ -506,7 +506,8 @@ class WebTorrentPlugin extends Plugin {
506 uploadSpeed: this.torrent.uploadSpeed, 506 uploadSpeed: this.torrent.uploadSpeed,
507 downloaded: this.torrent.downloaded, 507 downloaded: this.torrent.downloaded,
508 uploaded: this.torrent.uploaded 508 uploaded: this.torrent.uploaded
509 } 509 },
510 bandwidthEstimate: this.webtorrent.downloadSpeed
510 } as PlayerNetworkInfo) 511 } as PlayerNetworkInfo)
511 }, this.CONSTANTS.INFO_SCHEDULER) 512 }, this.CONSTANTS.INFO_SCHEDULER)
512 } 513 }