Better HN
topnewbestaskshowjobs
Log inSign up

errhead

17 karma · joined Apr 24, 2021 (5y ago) · 7 submissions

Submissions

comment 3y ago · link · parent

HLS has been the default system for years, and yes, it works perfectly.

comment 3y ago · link · parent

https://fediversereport.com/framasofts-yearly-report/

>Framasoft also announced that next year they will bet big on PeerTube, working on features such as better moderation tools, working on promoting the ecosystem more, and an official PeerTube mobile app.

And on another front of the mobile battle, podcasting 2.0 apps are increasingly supporting PeerTube video via the RSS feed.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Sad to hear, but totally understandable. I'm sure the official app will need lots of contributors when it comes out next year.

comment 3y ago · link · parent

That's the p2n layer that already exists in PeerTube through the redundancy feature in federation.

Federated instances that enable redundancy copy all resolutions of a video that meet chosen criteria of popularity. When a user views the video on PeerTube, their browser grabs the sections of the video from any of the PeerTube instances that have a copy, creating an ad-hoc distributed CDN. This covers the mid-level of popularity and keeps the hosting instance from getting slammed on bandwidth.

If something goes viral, or during livestreams which are by nature simultaneous, then the p2p in the browser between viewers kicks in and reduces load on the peering servers even more.

comment 5y ago · link · parent

PeerTube uses p2p in the browser, so something going viral means the server has minimal traffic besides matchmaking data blocks betwixt clients.

comment 5y ago · link · parent

The standard install requires a domain to get a certificate for https.