@enoch85 what are the āspecialā settings needed to run the signaling server. maybe itās enough to add this to the nginx config.
that is to say: what is the difference in the apache conf between nextcloud with or without signaling server. what did you add to make the signaling server work?
Thanks, for quick reply. I never heard about that, and the installation scripts that I know use Nginx. Generally Nginx is praised for being less resource intenstive. So if there could be added something to the script to make it work with Nginx would be perfect. I run NC on a VPS, so I never considered your VM. I see you have an option for a VPS as well, maybe I will try that for my next install
Thereās a lot, we basically threw the old Talk script away and made a new one. There are multiple Nginx configs online if you promtly want to run Nginx. Just use your favorite search engine.
You can read the script, but basically:
Apache Proxy
TLS to that proxy
All the packages needed for it to run
CLI commands to prep everything
And moreā¦
Thanks!
I never tried it Standalone, but it will check if Nextcloud is installed and all that. Though itās pretty generic code Iād say, so give it a try and report back, Would be interesting to know! Remember to keep backups!
Yup, and thatās true as well. Nginx is very good at serving static files, like webpages and so on. Nextcloud isnāt a webpage. Sure, your GUI will fly, but what about file syncingā¦?
Iāve seen many bugs regarding Nginx in use with Nextcloud over the years. I spent some time today trying to find a good explanation I stumbled across a few years ago regarding why Nginx is a bad idea for Nextcloud, but my search engine skills failed me this time.
Anyway, I run Ngix as well, but as a Reverse Proxy for all my servers. Itās really nice!. All and all, I know Nginx, I know Apache. They are good at different things, and I wouldnāt suggest running Nginx for Nextcloud.
Youāre very welcome to try out the official VM scripts whenever you want.
My understanding is, it revolves around the fact that traffic increases as a square of the number of participants: for N users the number of streams to handle is N*(N-1) - every user (N) sends its audio/video to everyone else (N-1)ā¦
By introducing a signaling server, every user sends out only one audio/video stream and this server takes care of distributing it to others. It also performs some other duties: codec selection (if available), synchronization, optimization, downconvertion if needed, etc.
STUN and TURN servers solve the issue of users behind routers/firewalls.
To optimize the two-way audio/video traffic for 10+ participants it is not enoughā¦
Yeah I mean since it replaces P2P with a server-client model, it works around issues with firewalls and symmetric NAT as well, so no TURN/STUN required anymore. Although in case if two peers only, a direct P2P connection, in case with help of STUN, would be great to avoid unnecessary traffic through the signaling server.
Nope, but close It was a user on Github, but thereās so many issues to search in.
Anyway, Iām also lazy, hence I made the scripts. If you feel like it, try the out like you did with Riegers stuff. Would be great with some feeback!
Spot on! Thanks!
The difference is what @anon71540698 already pointed out. You can handle more users with a seperate STUN server. But with this fix, you run STUN and TURN on the same server but on different domains. The STUN server is proxied.
But, it still allows for better quality and more users, and youāre not limited to the previous TURN limitations by just installing the default TURN server.
I tried Documize on a cheap VPS (LXC, Ubuntu 20) with 1GB RAM and it worked! A highly complex script that does a lot more than any of the others. Letsencrypt did not work, though, it said snap was not fully supported. Right now, record low 200 MB are used! I am impressed. Will explore more, thanks a lot for the scripts!
Just installed the Signaling Server as well, worked without any issues. Still only 300 MB RAM in use! Maybe you can lower the minimum requirements to 1GB in the install script?
Problem is that people will complain when itās slow, and there might be complications in a production environment as PHP-FPM is optimized for minimum use with 2 GB RAM.
I understand. My installation is very fast, actually, but only a few apps are installed.
Anyway, I was not so lucky with my second try on a more powerful VPS. Maybe it has something to do with the hostname not been changed before running the script, I donāt know. Or that only Ubuntu 18.04 minimal was available and I had to make a manual update?
The problem is with Talk. It works without the signaling server, but after installing it, I cannot start a call, I just get a spinning wheel. I always get 403 forbidden error:
GuzzleHttp\Exception\ClientException: Client error: POST https://talk.SIGNALING.DOMAIN.COM/api/v1/room/fj2yqbejresulted in a403 Forbidden response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden (truncated...)
Thank you for your tip. I have already tried to install the Talk Signaling Server several times in the past and unfortunately failed.
If I read the package correctly, only the Talk Signaling Server is included. Unfortunately there is no description of the additional required packages and the installation. My hope was an āall-inā Docker image to make installation easier.
I think a step by step description would be a real help for many. Given the restrictions that still exist, a working video conferencing system - which could have at least 10-15 people participating - would be great.
Maybe there will still be someone who provides a tutorial and a corresponding Docker image.
Maybe you have to add the domain to /etc/hosts like in previous errors in this thread?
I actually have no idea right now, all the tests we did was working well. We tested on an UpCloud VPS with Ubuntu 20.04. I think it was 4 GB RAM and 4 CPU.