Video Streaming for Cloudron
-
@LoudLemur Interesting question
What does well mean? Where can you collect testers to test this? From which countries do they come? What are the standard VPS specs for testing? What is the default setup on Cloudron (one, two, three, many apps)? Is the Peertube instance just for streaming or a relevant video platform for your community? Is federation enabled and your instance follows a lot of other instances?
My clear opinion on this topic (biased by a lot of experience with video conferencing solutions): if your case relies on streaming and you don't want to invest time or money and are okay with potential GDPR-related decisions, take the big platforms to stream to your audience. Otherwise, be clear about your expectations and set up a reliable infrastructure just for the streaming part.
My setup (many apps on a Cloudron instance with 6 cores and 32 GB RAM, default Peertube settings from the app package) serves up to 10 people ok-ish.
-
@luckow The use case I had in mind is a livestream video, for example, something like you would have broadcasting / teleconferencing a Mass at Church. 90% or more of the participants are passively receiving the stream at home, for example. They are all being sent the same video at the same time. Afterwards there might be a "download broadcast" option for the archives.
Interactions could be permitted via a text-chat tool. At specific moments, for a short duration during the stream, the audio might come from one of the congregation, during a reading, for example.
-
@LoudLemur in my understanding, streaming (especially Live) is not so much a question of technology, but of scale and server/bandwidth resources to support dozens, hundreds, thousands of connections. It is necessary to consider use case and scale in order to answer effective performance.
OBS Ninja is a good example. Relatively simple to install/host. But how much does it support ? I don't know, but I would guess on most VPS servers or even small dedicated servers, it would be relatively limited.
Happy for someone to challenge this understanding. Would love to be proved wrong.
-
@timconsidine Good to see you and I hope you have some calm in your life in these difficult times.
I think peer-to-peer technology is ideal for situations like livestreaming, when there is a peak in demand, and everybody wants the same thing at the same time.
There have been some reasonably successful attempts to solve the Content Delivery Network problem using IPFS, but it is far from ready for packaging, unfortunately.
Galacteek has some video functionality integrated into it, but I haven't tried using that yet.
A couple of people have said that Jitsi works ok for situations like livestreaming a mass, though only up to a certain number of users, maybe 20-40, something like that.
If Cloudron is somehow able to help people deploy self-hosted livestreaming effectively, it could help transform the entertainment industry.
-
@LoudLemur yes P2P may be a solution to load from mass scaling.
-
I think OwnCast would be great. I have requested Red5 Open Source here:
https://forum.cloudron.io/topic/6672/red5-open-source-on-cloudron-video-streaming
Apart from Red5 there is also:
Open Streaming Platform
https://gitlab.com/osp-group/flask-nginx-rtmp-manager -
Some progress has recently been made on Jitsi making it easier to livestream from Jitsi to PeerTube, both of which are supported on Cloudron.
-
@LoudLemur I think, if I remember correctly, that Peertube is using pretty much a principle in the like of
Galacteek has some video functionality integrated into it, but I haven't tried using that yet.
I also think it's implemented by default however one can also opt-out. Of course, the more user share the streaming power the more audience can be reached.
In such case as a community, there's more possibilities that something like that can be achieved as everyone should then collaborate for the good of the community and thus, keep the browser sharing utility on as a contribution.
-
@timconsidine said in Video Streaming for Cloudron:
@LoudLemur in my understanding, streaming (especially Live) is not so much a question of technology, but of scale and server/bandwidth resources to support dozens, hundreds, thousands of connections. It is necessary to consider use case and scale in order to answer effective performance.
I think you have a pretty good idea of how that should be thought from the basis. So, in this regard, asking oneself for a start, what's the ultimate goal using video streaming or even podcasts or video sharing would be worth spending a bit of time on the question.
As @luckow mentioned about the possibilities and limitations of a VPS using a 1G bandwidth, it is important to keep in mind that for live streaming to large audiences it will eventually take more than 1G of bw output to smoothly scale streaming to such audience, whatever output capacity you have on your server. When you get in the thousands of live viewers even increasing RAM on the server won't be sufficient, it will help but you will need a bigger pipe to push it out.
OBS Ninja is a good example. Relatively simple to install/host. But how much does it support ? I don't know, but I would guess on most VPS servers or even small dedicated servers, it would be relatively limited.
OBS is used on your local rig and so it depends on your local resources to reach the streaming service server.
I know Peertube has live streaming capacities as well, however I haven't had the time to test it out yet. It would be interesting to learn about anyone else who might have tested this already, and if tested with OBS and well it works, or not lol
Happy for someone to challenge this understanding. Would love to be proved wrong.
Happy to prove you right -
L luckow referenced this topic on