Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to reduce dl impact on slow computers (web) #1513

Merged
merged 2 commits into from Sep 28, 2018
Commits on Sep 21, 2018
  1. 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).
Commits on Sep 27, 2018
  1. Use a update wire wrapper instead

    Chocobozzz committed Sep 27, 2018
You can’t perform that action at this time.