this post was submitted on 21 Jun 2023
15 points (94.1% liked)

Open Source

30282 readers
506 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I don't believe one exists, correct me if i am wrong. I believe something like this should be worked on as i sense youtube is going to tighten down soon, too. Would it even be possible?

you are viewing a single comment's thread
view the rest of the comments
[–] peregus 1 points 1 year ago (1 children)

It's not only a storage problem, but bandwidth cost too.

[–] Eldritch 1 points 1 year ago (1 children)

It uses WebRTC. It's not going to be that big of a bandwidth issue.

[–] peregus 1 points 1 year ago (1 children)

It's still bandwidth. If every single video viewed uses (for example) 2Mbps, 10.000 video viewed simultaneously would need 20Gbps.

[–] Eldritch 1 points 1 year ago (1 children)

From who? It's federated and distributed. Everyone watching it also re-streams it. You don't need a massive data center in the cloud. The more people who are watching it. The more bandwidth there is for more people to watch it.

[–] peregus 1 points 1 year ago (1 children)

Everyone watching is also restraining? Is that really how Peertube works? I didn't know! Does it works using chunks form different people or video is fully uploaded by a single user?

[–] Eldritch 0 points 1 year ago (1 children)

Yes WebRTC is highly similar to BitTorrent. You have your initial uploader who seeds. Every person that then downloads a chunk to watch it is also then capable of sending that chunk back out. Thereby the more people that watch the more people that can watch. Even back in 2012 with the Kodi piracy plugins. You could click on watching a show. And within a minute or two you would be watching the show in decent quality. Though at the time they were actually using straight up bit torrent just tuned to send the first chunks first so you could watch it as it streamed. So as far as bandwidth on storage requirements are concerned is pretty minimal. Unless of course you're trying to run a large public instance. Then you are still on the hook for some basic storage.

[–] peregus 1 points 1 year ago

Are you sure that's the WebRTC protocol? I'm no expert, bit it doesn't seem to me that WebRTC does that. I think that the "shared" view can work with live streaming, but with stored video, it's fairly uncommon that multiple people will watch the same video in the same moment, don't you think?