మీ స్వంత TURN సర్వర్ను సెటప్ చేయడం

Jami can be configured to use TURN or STUN servers (RFC5766) to establish a connection between two peers.

డిఫాల్ట్ TURN సర్వర్ "turn.jami.net", యూజర్ పేరు "రింగ్", పాస్వర్డ్ "రింగ్" మరియు రియల్మే "రింగ్" తో.

In this guide, we will setup a coTURN server. There are other TURN/STUN server implementations available under a free license, such as TurnServer and Restund.

ఇన్స్టాల్ చేయడం

The CoTURN server is available on most Linux distributions. On Debian, install it with the following command:

apt-get install coturn

కాన్ఫిగర్

Here is a basic turnserver.conf configuration file:

listening-port=10000
listening-ip=0.0.0.0
min-port=10000
max-port=30000
lt-cred-mech
realm=sfl

This also will function as a STUN server. The STUN server does not require a username and password (A STUN server uses very little bandwidth).

మీ TURN సర్వర్లో వినియోగదారులను సృష్టించడం

మీ TURN సర్వర్లో వినియోగదారులను సృష్టించడానికి, turnadmin బైనరీని ఉపయోగించండి (ఇందుకు సూపర్ యూజర్ అనుమతులు అవసరం కావచ్చు).

turnadmin -a -u bob -p secretpassword -r sfl

TURN సర్వర్ను ప్రారంభించడం

turnserver -c turnserver.conf

TURN సర్వర్తో ప్రామాణీకరణ కోసం Jami ను కాన్ఫిగర్ చేయడం

మీరు మీ ఖాతా సెట్టింగుల అధునాతన విభాగం నుండి మీ TURN సర్వర్ను ఉపయోగించడానికి Jami ను కాన్ఫిగర్ చేయవచ్చుః

క్షేత్రం

విలువ

ఉదాహరణ

** సర్వర్ url**

మీ సర్వర్ యొక్క హోస్ట్ మరియు పోర్ట్

0.0.0.0:10000

ఉపయోగదారు పేరు

వాడుకరి పేరు

బాబ్

** పాస్వర్డ్**

పాస్వర్డ్

రహస్య పాస్వర్డ్

భూమి

రాజ్యం

ఎస్ఎఫ్ఎల్