Today I was thinking about how great it would be if I could post a video to my blog and use the Peertube video player to display the video, and also get the benefit of having visitors share the video among themselves if two people were viewing the video at the same time.
I know that I could do that by running a Peertube instance and then using the embed feature to put the video on a web page. But is there any prior art for just using the client-side Peertube video player by itself? And is that even possible, or does it need a backend server for discovering other video players? I’m looking for documentation right now about how the P2P functionality works, and can’t really find anything.
Thank you for listening! :-)
My group has been attempting to figure this out as well. LogalDeveloper has tried leveraging WebTorrent, but it seems that Peertube has deprecated that and while it can hook it, it never servers anything to anyone. Then he found out they changed to WebRTC and it does more of a direct push.
We do know that folks can set a redundancy in Peertube and then the end user will pull from any of the redundancy sites. Which isn’t really ideal, because if you have a bad site, that’s obviously outside of your control, it could make a poor experience for the end user. At least this is our theory and appears to be true.
If we’re wrong, we’d love to know how and where. But Peertube is REALLY impressive imo as to all it’s doing. And it seems like they’re really open to help.