-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Webtorrent HLS #4895
Comments
Hello, I'm sorry but it's out of the scope of PeerTube. If you want to create a CLI script to seed HLS streams, you can try to use p2p-media-loader directly in your library. |
The script already exists, but had to be written in Python because webtorrent didn't work. It seeds the torrents just find, but the HLS videos just don't work. Webtorrent uses WebRTC and the npm package uses a headless chromium instance which fails (feross/simple-peer#866). I'd like to contribute bandwidth to peertube without running a full instance of peertube. Is there a way to do that? |
Unfortunately no |
Describe the problem to be solved
CLI seeds for HLS streams. I wrote a reseeder for peertube that uses webtorrent. However, I found out that it doesn't work with HLS streams because p2p-media-loader is being used that only uses the webtorrent trackers, but doesn't actually use webtorrents (I might be wrong though).
Describe the solution you would like:
A single torrent for the chunks. It should then be possible to instruct webtorrent to download sequentially or a certain file in the torrent.
Describe alternatives you have considered
.files[]
in the result from/videos/{id}
endpoint)The text was updated successfully, but these errors were encountered: