Peertube: Should mobile user also seed ?

Created on 11 Oct 2017  路  6Comments  路  Source: Chocobozzz/PeerTube

Mobile users often don't have a lot of data plan so this could be a problem.

Some ideas :

  • Don't seed by default on 3g/4g
  • Only seed on wifi ?
  • Allow registered users to enable the seed on mobile network ?
Component Type

Most helpful comment

But I don't think we can detect if the user is on 3g/4g or on wifi

https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API

All 6 comments

It's a very good idea. But I don't think we can detect if the user is on 3g/4g or on wifi, so just don't seed on mobile device.

Or just have an option like checkbox for seed ?

But I don't think we can detect if the user is on 3g/4g or on wifi

https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API

Since detecting if the user is on a mobile network has scarce support, we could make the assumption phones are using a mobile network and just detect is the client is on a phone (detecting that is way easier).

Of course that is not perfect, but it's patching the most critical use case, where phone contracts often have limited data volumes.

Speaking of a mobile detection library: https://github.com/KoderLabs/ngx-device-detector - but maybe there is something even more lightweight?


EDIT: some testing shows webtorrent shares very little data on mobile connections anyway

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tcitworld picture tcitworld  路  3Comments

NoraCodes picture NoraCodes  路  3Comments

conferences-gesticulees picture conferences-gesticulees  路  3Comments

filmaidykai picture filmaidykai  路  3Comments

XenonFiber picture XenonFiber  路  3Comments