To enable voice & video call, you need to install Turn Server.
- Install coturn using apt-get
sudo apt-get -y update
sudo apt-get -y install coturn
-
Enable coturn by editing
/etc/default/coturn
, remove “#” comment onTURNSERVER_ENABLED
to enable turnserver. -
Create your coturn config in
/etc/turnserver.conf
, you can check the example config, some config lines are commented out to disable SSL, you can enable it by removing the “#” and editing it to your own need. -
Run the turnserver from command line
turnserver -o
In some cases, some mobile provider can’t be used to access port 3478 or port 5349, try to replace the port in config with 8000 or 8080 to check if it solve the problem.