News for hackers. Stuff that matters.
Re:PeerTube v6 is out, and powered by your ideas by hutzlibu on Tuesday November 28, 2023 @06:19AM (#38444617)
But if you stream from the server, it still would still not be p2p. SO either they implemented their own custom p2p solution, where the peers stream HLS to other peers, or they abandoned p2p.

edit: the main FAQ on the website still clearly says, it is p2p. But now I am curious if they really implemented their own p2p solution, or if this is outdated.

https://joinpeertube.org/en_US#what-are-the-main-advantages-...

Re:PeerTube v6 is out, and powered by your ideas by jelv on Tuesday November 28, 2023 @06:54AM (#38444788)
"WebTorrent is a wonderful library that allowed PeerTube to be created five years ago. But due to many limitations of the library we decided to implement and default to another P2P protocol used in coordination with HLS. This new HLS player works very well, and does not have all the limitations of the WebTorrent player. It also allowed us to implement live streaming in PeerTube."

https://github.com/Chocobozzz/PeerTube/issues/5465

Re:PeerTube v6 is out, and powered by your ideas by hutzlibu on Tuesday November 28, 2023 @08:06AM (#38445269)
Thanks, now I am really curious to try that out and see how it works under the hood. What I need, would also be the option to ask users first, if they want to upload as well. People on a mobile connection should be able to opt out. (Quick search did not reveal this).
Re:PeerTube v6 is out, and powered by your ideas by booteille on Tuesday November 28, 2023 @08:30AM (#38445485)
You can find this option in "My Settings", in the left menu.

"Help share videos being played"

Re:PeerTube v6 is out, and powered by your ideas by hutzlibu on Tuesday November 28, 2023 @09:23AM (#38445992)
Oh, that was easy. Thx.
Re:PeerTube v6 is out, and powered by your ideas by errhead on Tuesday November 28, 2023 @08:45AM (#38445602)
This is what they use https://github.com/chocobozzz/p2p-media-loader forked from novage a while back. Nice explanation with diagrams at the link.

It has worked surprisingly well in my testing during livestreams when you can count on multiple simultaneous viewers.