• Try to reduce dl impact on slow computers (web)

    Chocobozzz committed Sep 21, 2018
    On slow computers with a fast network, web browsers may no longer respond because webtorrent is downloading chunks too fast.
    
    The main issue is that you cannot stream a torrent video: the web browser does not have time to play the video, it is too busy downloading the video chunks.
    
    On web browser supporting [requestIdleCallback](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback#See_also), we download chunks with a lower priority allowing the web browser to execute other tasks (like playing the video).