From b95d37e265032de3a3a1869c2313cb0134ff85a2 Mon Sep 17 00:00:00 2001 From: rra Date: Thu, 7 May 2020 17:34:02 +0200 Subject: [PATCH] minor edits --- .../server-support-for-audio-video-calls.md | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/content/instant-messaging/server-support-for-audio-video-calls.md b/content/instant-messaging/server-support-for-audio-video-calls.md index f44f0d3..fb3e377 100644 --- a/content/instant-messaging/server-support-for-audio-video-calls.md +++ b/content/instant-messaging/server-support-for-audio-video-calls.md @@ -11,7 +11,7 @@ Status: draft Introduction --- -This is a guide to set up server-side support for audio/video calls over XMPP. To do this we will first install and configure [coturn](https://github.com/coturn/coturn). It is a libre STUN/TURN server that helps establish peer connections across firewalls for media streams such as calls. Additionally we will configure Prosody to talk to `coturn`. +This is a guide to set up server-side support for audio/video calls over XMPP. To do this we will first install and configure [Coturn](https://github.com/coturn/coturn). It is a libre STUN/TURN server that helps establish peer connections across firewalls for media streams such as calls. Additionally we will configure Prosody to talk to `coturn`. Like the other guides, this one assumes Debian stable running on the server, the fact that you will end up hosting a few of your friends and that you have some basic skills working on a linux command line. @@ -31,7 +31,7 @@ To make your server communicate make sure following ports are open in your firew Set up coturn --- -First install `coturn` +First install Coturn :::console sudo apt-get update && sudo apt-get install coturn @@ -41,7 +41,7 @@ After installing first make a backup of the existing configuration: :::console sudo mv /etc/turnserver.conf /etc/turnserver.conf.bak -Then download the configuration by [the homebrewserver.club](https://homebrewserver.club/downloads/turnserver.conf). +Then download the configuration by [the homebrewserver.club](https://homebrewserver.club/downloads/turnserver.conf): :::console cd ~ @@ -84,16 +84,22 @@ The file looks like this: Now time for some config. Edit file in a few places: -Add your external IP-address to `listening-ip`. If you don't know it, you can find out using `curl https://ifconfig.co`. +Add your external IP-address to `listening-ip`. If you don't know it, you can find out using the following command: -Set `static-auth-secret` to a decently long passphrase. You can also generate one with: `openssl rand -base64 30`. Take note of it because we will need this secret later. +`curl https://ifconfig.co` -Finally, edit the paths to the Let's Encrypt certificates to whatever you've set in ['Configuring an XMPP server for secure, mobile instant messaging']({filename}instant-messaging/configuring_an_xmpp_server_prosody_0.11.md#enabling-https) +Set `static-auth-secret` to a decently long passphrase. You can also generate one with: + +`openssl rand -base64 30`. + +Take note of it because we will need this secret later. + +Finally, edit the paths to the Let's Encrypt certificates to whatever you've set in ['Configuring an XMPP server for secure, mobile instant messaging']({filename}instant-messaging/configuring_an_xmpp_server_prosody_0.11.md#enabling-https). Update & set up Prosody --- -First update your prosody modules: +First update your Prosody modules: :::console apt-get install mercurial