apt-get install coturn,源码:http://turnserver.open-sys.org/downloads/
安装类似下面:
sudo -i
# ignore if you already in admin mode
apt-get update && apt-get install libssl-dev libevent-dev libhiredis-dev make -y
# install the dependencies
wget -O turn.tar.gz http://turnserver.open-sys.org/downloads/v4.5.0.3/turnserver-4.5.0.3.tar.gz
# Download the source tar
tar -zxvf turn.tar.gz
# unzip
cd turnserver-*
./configure
make && make install
可以参考:https://gist.github.com/chathudan/2024fc8ab182d789205d
运行服务器:
sudo turnserver -a -o -v -n --no-dtls --no-tls -u test:test -r "someRealm"
command description:
详细配置wiki.
现在你可以在你的应用程序中使用TurnServer:
var peerConnectionConfig = {
iceServers: [{
urls: YOUR_IP:3478,
username: 'test',
password: 'test'
}]
}
http://www.blogjava.net/linli/archive/2015/06/18/418935.html
官网:http://turnserver.sourceforge.net/
安装:http://turnserver.sourceforge.net/index.php?n=Doc.Install
官网:http://www.creytiv.com/restund.html
安装参照:http://nil.uniza.sk/sip/installing-and-configuring-restund-stunturn-server
安装:http://rtcquickstart.org/guide/multi/turn-reTurnServer.html#idp63651520