mafintosh / torrent-stream

The low level streaming torrent engine that peerflix uses
MIT License
1.94k stars 227 forks source link

README: add engine.swarm.downloadSpeed() and clarify engine.swarm.downloaded #173

Open jeffjose opened 7 years ago

jeffjose commented 7 years ago

There's 2 parts to this pull request. The first one should be straight forward - "Add engine.swarm.downloadSpeed()" to the documentation

The second is a clarification. From my tests, torrent-stream always ends up downloading more than the totalLength and hence engine.swarm.downloaded isnt a good metric to figure out what's left. In other words, trying to do a "%" by engine.swarm.downloaded/totalLength always goes above 100%.