this post was submitted on 21 Jun 2023
15 points (94.1% liked)
Open Source
31028 readers
812 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It uses WebRTC. It's not going to be that big of a bandwidth issue.
It's still bandwidth. If every single video viewed uses (for example) 2Mbps, 10.000 video viewed simultaneously would need 20Gbps.
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.
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?
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.
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?