1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00

Clarify README.

This commit is contained in:
Juliusz Chroboczek 2020-11-09 00:23:44 +01:00
parent 3d3182acf8
commit 01192d69fc

38
README
View file

@ -17,22 +17,34 @@ This step is optional.
## Set up a TURN server ## Set up a TURN server
This step is optional, but unless you set up a TURN server, your server This step depends on your network setup and your user population. If your
will be inaccessible from most enterprise and many university networks. server is accessible from the Internet (no firewall or NAT) and none of
For best results, set up TURN over TCP on port 443 (HTTPS); if port 443 is your users are behind restrictive firewalls, then no ICE servers are
not available, port 1194 (OpenVPN) is a good choice. necessary. If your server is behind a NAT, a STUN server is required. If
any of your users are behind restrictive firewalls (which is usually the
case of Academic and Enterprise networks), then you will need a TURN
server running on an innocent-looking TCP port. This is the recommended
setup.
The address of the TURN server is configured in the file You should probably be running your own TURN server — I use *coturn*. The
`data/ice-servers.json`. It should look like this: address of the TURN server is configured in the file `data/ice-servers.json`.
It should look like this:
[{ [
"urls":["turn:turn.example.com:443?transport=tcp"], {
"username":"username", "urls":["turn:turn.example.com:443"],
"credential":"password" "username":"username",
}] "credential":"password"
},
{
"urls":["turn:turn.example.com:443?transport=tcp"],
"username":"username",
"credential":"password"
}
]
The *username* and *password* should be the same as the ones in your TURN The port number, username and password should be the same as the ones in
server's configuration. your TURN server's configuration.
## Set up a group ## Set up a group