sschueller / peertube-android

Thorium, a PeerTube Android Client
https://github.com/Chocobozzz/PeerTube
GNU Affero General Public License v3.0
342 stars 53 forks source link

Seeding options #2

Open sschueller opened 6 years ago

sschueller commented 6 years ago

Add option to enable/disable seeding. (Always, Wifi Only, Off). Default would be Wifi Only.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/55809673-seeding-options?utm_campaign=plugin&utm_content=tracker%2F89466969&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F89466969&utm_medium=issues&utm_source=github).
dhk2 commented 4 years ago

Working on it

dhk2 commented 4 years ago

Got it working as a service. Works great for 1 video, but seeding multiples is crashing with errors like: A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 13119 (TORRENTSTREAM_L), pid 13072 (ueller.peertube)

After I finish implementing the user interface bits for thorium, I'll dive into the library and see what's going on

dhk2 commented 4 years ago

Switched to using sessions from libtorrent instead of of torrentstreams for seeding. Able to get 2 or three seeds working but still gets occasional fatal signal 11, increasing significantly around 5. Back to drawing board

dhk2 commented 4 years ago

Alright, seeding 10 captain planet videos while playing a game in the foreground. Now to tidy it up.

dhk2 commented 3 years ago

giving up on my third try at this for now in light of this:

https://docs.joinpeertube.org/admin-configuration?id=vod-transcoding