- const downloadSpeed = bytes(p2pStats.downloadSpeed)
- const uploadSpeed = bytes(p2pStats.uploadSpeed)
- const totalDownloaded = bytes(p2pStats.downloaded)
- const totalUploaded = bytes(p2pStats.uploaded)
+ const downloadSpeed = bytes(p2pStats.downloadSpeed + httpStats.downloadSpeed)
+ const uploadSpeed = bytes(p2pStats.uploadSpeed + httpStats.uploadSpeed)
+ const totalDownloaded = bytes(p2pStats.downloaded + httpStats.downloaded)
+ const totalUploaded = bytes(p2pStats.uploaded + httpStats.uploaded)