How to build a Linux-powered smart home
Add some intelligence to your home and offices
When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.
Jitsi Meet
Jitsi Meet is a completely free, open source video conferencing program that you can connect to via a browser or smartphone app.
You can use it right now by visitinghttps://meet.jit.siand choosing a name for your virtual meeting (or indeed accepting one of the amusing ones the website randomly generates).
There are no downloads or configuration required by clients, they just need to click a link which you can share by email from within the meeting room. Or they can dial in and connect with a PIN. Simple.
Obviously Jitsi’s free service has some limitations, but these will be gone when we self host our own Jitsi installation.
You don’t need any particularly special hardware to do this, and thanks to the excellent Debian and Ubuntu packaging you don’t really need to do much in the way of configuration at all.
You will need a domain name though; a free one from a dynamic DNS service such as DuckDNS or Dyndns will work. As you can imagine (and we’ll look at this in a moment if you can’t), under the bonnet Jitsi is a rather complicated affair.
Not only does it have to wrangle the vagaries of streaming through NAT gateways (such as home routers), it also needs to keep all this secure with SSL, so if you cheat and use a self-signed certificate, your users will see scary warnings.
Are you a pro? Subscribe to our newsletter
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
If you’re happy for you and your users to see these warnings (or brave enough to add an exception to your browser), and your users are all local, you can get away with using a bogus domain name and fudging users’/etc/hostsfiles to resolve this to your machine.
Or even just use IP addresses directly. But it’s probably easier in that case to have an in-person (where’s the fun in that?–Ed) conversation rather than involving the machines.
If you have a domain, the install process can automatically generate Let’s Encrypt certificates, and then no one needs to see any security warnings.
A Jitsi install is in fact a collection of several components, all working in harmony to bring bright smiley faces closer in a world that grows ever more distant.
Firstly, it relies on a web server (and some pretty wild JavaScript) to provide the web frontend. You can use Nginx or Apache here. Most of the software is written in Java, so keen-eyed dependency spotters will note the OpenJDK runtime making an appearance.
The magic of connecting more than two participants is handled by Jitsi VideoBridge (JVB). This uses the XMPP (like Jabber) and WebRTC (like Google Meet) protocols to swiftly route video to call participants.
Deciding which participant is the speaker, and hence who users see ‘focussed’ on their screens, is handled byJicofo(Jitsi Conference Focus).
Note that this is as close to video processing as Jitsi gets – all the encoding and decoding is handled on the user side.
At the heart of it all theProsodyXMPP server keeps all these components and users connected. You’ll find more information about these and everything else Jitsi in theHandbook.
What if it doesn’t work?
If you can join a room from multiple locations but don’t see any other participants and are stuck with a message telling you you’re the only one here, port forwarding is almost certainly the culprit. In some configurations the extra port4443will be necessary.
Your next stop should be the log files. JVB and Jicofo’s are located in/var/log/jitsiand Prosody’s is in/var/log/prosody.
It’s handy to delete these after a configuration change so that you don’t get confused by previous logs.
Alternatively use tail to view the last few entries. After any configuration change, you’ll want to ensure that you restart all the services, which is a matter of:
You might want to addnginxto that list, particularly if you’ve changed anything that will affect the frontend, such as the authentication we added earlier.
And if it all goes wrong you can purge all Jitsi data and configuration with:
Current page:Jitsi Meet
Best secure file transfer solution of 2024
Best lightweight Linux distro of 2024
Apple iMac 24-inch M4 (2024) review: the best, and most colorful, all-in-one computer levels up