What's the best way to calculate remaining download time?

前端 未结 7 973
野性不改
野性不改 2020-12-04 18:43

Let\'s say you want to calculate the remaining download time, and you have all the information needed, that is: File size, dl\'ed size, size left, time elapsed, momentary dl

相关标签:
7条回答
  • 2020-12-04 19:19

    I think it's just an averaging algorithm. It averages the rate over a few seconds.

    0 讨论(0)
提交回复
热议问题