Solved Owncast – An open-source, self-hosted live streaming server
-
Demo: https://watch.owncast.online
Github: https://github.com/owncast/owncast
Documentation: https://owncast.online
-
See also, https://forum.cloudron.io/topic/2707/open-streaming-platform-osp and PeerTube's upcoming live stream support.
-
I would love to see this. Also definitely waiting for Lives from peertube but it won’t have comments or chat for its first iteration
-
I can't wait to have this on Cloudron for our 24/7 livestream!
-
I tried this out here: https://git.cloudron.io/AtriLahiji/owncast-app
Only issue is I am having troubles accessing the rtmp server it provides to stream (port 1935). Is there something else I would need to do to allow additional ports through for this app @girish?
OBS Logs when connecting
01:26:58.743: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://cast.lahijiapps.dev/live... 01:26:58.754: cast.lahijiapps.dev/live is offline. Try a different server (ECONNREFUSED). 01:26:58.755: [rtmp stream: 'simple_stream'] Connection to rtmp://cast.lahijiapps.dev/live failed: -2
Seems like the app logs don't even indicate that there was a connection attempt. My assumption here is the port is blocked. I even tried this when SSH'ed into the server:
sudo iptables -I INPUT -p tcp -m tcp --dport 1935 -j ACCEPT
I guess anyone could pitch in too. I figured @girish would be a good person to ask as it is down to (most likely) a port issue.
-
@atrilahiji you need to define the rtmp port in the cloudron manifest. You can use https://docs.cloudron.io/custom-apps/manifest/#tcpports
-
@fbartels Wowee I really need to learn to read docs. Thanks for the rescue
I've released v0.20.
Still a lot I'm not proud of. Like putting everything in /app/data. The app writes to its root directory a lot which is why I initially did this
-
Reported a bug here: https://github.com/owncast/owncast/issues/550
-
Pushed a new release. Seems like for similar settings, Peertube performs a lot better in terms of server resources transcoding a 1080p and 480p stream at 6000 Kbps and the fast preset. Owncast seems to spike my server (given its a 9th gen i3) 60ish% load.
-
@atrilahiji Don't feel bad - I'm working on Papermerge and it does the same darn thing. Really frustrating. Tried going the symlink path but after 50 links, decided to take a step back and rethink. Still no thunk yet
But doon.
-
@doodlemania2 wouldn't it be nice if there was a tool that could auto-symlink things that need it?
-
@robi oooooh that'd be shiny
-
@girish said in Owncast – An open-source, self-hosted live streaming server:
See also, https://forum.cloudron.io/topic/2707/open-streaming-platform-osp and PeerTube's upcoming live stream support.
I tried PeerTube a few month ago and it was very unflexible to me. Eventually I will give it another try.
-
@atrilahiji I see you’ve started creating an app at https://git.cloudron.io/AtriLahiji/owncast-app I’m really curious what the status is and if it will be on Cloudron AppStore?
-
@imc67 I’d say is very usable right now but I didn’t bother cleaning it up much for a proper release or adding tests.
-
@imc67 I’m curious about trying it now that I’ve moved my server to a beefy Ryzen CPU. Maybe it will be better now... who knows.
-
@atrilahiji said in Owncast – An open-source, self-hosted live streaming server:
I’m curious about trying it now
Did you give it another go?
-
@jdaviescoates nope! I will probably get to that today though. My ADD brain will try really hard
-
Here's my new package: https://git.atrilahiji.dev/atrilahiji/cloudron-owncast-app
It is still a CPU hog compared to Peertube but they added a lot of new features. Thankfully going from a 4 core to a 16 core processor brought usage to 25% peak for a stream.
-
@atrilahiji thanks! Looking forward to this being in the app store!
-
@atrilahiji @girish it would be indeed very good to have it in the AppStore soon, it's a perfect alternative for PeerTube.
-
Sorry! Turns out I had not actually pushed my changes to that repo. I added the changes to the repo on git.cloudron.io: https://git.cloudron.io/AtriLahiji/owncast-app/-/releases/1.0.0
I've started moving to having serious app packages on cloudron git and mirroring them on my git for discoverability
Also I imagine its less confusing for @staff lol
-
-
@imc67 said in Owncast – An open-source, self-hosted live streaming server:
@atridad & @girish & @nebulon is it possible to add this to the AppStore?
-
@girish +1 for OwnCast
What is the latest on making OwnCast available on the standard Cloudron?
Linode offer an OwnCast and Ant Media service on their servers. (Linode also support Cloudron.)
Does it require many resources?Also consider Ant Media Community Edition:
https://github.com/ant-media/Ant-Media-Server/wiki#community-edition--enterprise-edition
-
@loudlemur I absolutely could. I had a package but am thinking of re-doing it to get off of twitch (I hate using anything Jeffery Bezos makes money from). My time is very much stretched now between work, life, and freelance so I will be a "i'll get to it when I get to it" situation. Of course, if anyone else wants to go for it, go for it
-
@atridad @girish really curious when the app will be there in the app store?
-
@atridad do you know where your package code is currently ?
-
@girish i have it on my server - want me to upload it to git.cloudron?
-
@doodlemania2 yes, please!
-
@girish @doodlemania2 Currently, there is a "livestream to (yuch!) youtube" tool available in jitsi-meet. Hopefully, the Jitsi team will support Free livestreaming options like Owncast as an option soon. It would be wonderful to be able to run Owncast and livestream to it from jitsi-meet.
-
@girish https://git.cloudron.io/doodlemania2/owncast
not my work, I just updated it to 0.0.11 recently
with thanks to the OP! -
@doodlemania2 Wow! Where is the procedure explained for using an unofficial application on Cloudron? Is there a video or something like that? I would like to try this for Odoo too.
-
@LoudLemur do you mean app packaging ?
https://docs.cloudron.io/custom-apps/tutorial/?support_viewor installing a custom app already packaged ?
or something else that I didn't understand (sorry) ?
-
@timconsidine Hi! I meant something else:
I have a Cloudron running.
It supports the usual official applications.
I would like to run an application on my cloudron which is not officially supported yet. For example, this one:
https://git.cloudron.io/doodlemania2/owncastWhat would I do? Go into my Cloudron dashboard and ... Settings.. Private Docker Registry... activate... Docker Registry Provider... etc then what?
-
@LoudLemur so I think this comes under "installing a custom app already packaged"
command line / terminal usage :
- download the contents of the app package you want and extract to its own directory/folder
- change into that folder
- make sure you have cloudron CLI installed
- make sure you have Docker Desktop installed and running
- make sure you have a docker repo (seems you do from your answer)
- at command line :
docker build -t <your_repo_name>/<app_name>:<app tag> .
you should know the first 2 and you can make up anything for the tag (or even omit it)
remember the trailing full stop.
- at command line :
docker push <your_repo_name>/<app_name>:<app tag>
- at command line :
cloudron install --image <your_repo_name>/<app_name>:<app tag>
- you will be prompted for location : e.g. app.domain.tld
If packaging was good and you have docker and cloudron cli installed, and you downloaded the source directly, this should go smoothly !
-
@timconsidine yeah what Tim said
-
@doodlemania2
yesterday i tried the app package. two quick questions:- is it a typo? manifest defines port 1937 the app is preconfigured on port 1935.
- did you install the app on a Cloudron 7.1.x with (or without ipv6)? I had no way to connect to the instance via obs. Tried it with different ports and configurations.
-
@luckow I'm on 7.1
Yes, that's a typo, we should change that! Probably why your connection from OBS isn't working -
@doodlemania2 you know I didn’t see you had a copy of my old repo at all. I made a new one on my GitHub lol. It’s not much different tbh.
-
@atridad can you send link and i'll update and push with credit!
-
This looks like quite an easy package! I am just cleaning this up at https://git.cloudron.io/cloudron/owncast-app, will publish tomorrow.
-
@girish excellent! You're on a roll! Keep going
-
I have published this as unstable now.
-
girish
-
girish
-
@girish Nice! Small thing but could you remove my email from the manifest? That email in particular is old and the domain no longer exists. That or change it to atridad@icloud.com. Honestly not sure who should be there for the official package.
-
@atridad Ah, will do. That field is mostly unused anyway.