coturn功能比较全,配合WebRTC和Chrome使用蛮好,我在Ubuntu Server 14.04下配置了一下,过程记录在这里。
coturn的资料
github主页:https://github.com/coturn/coturn。
coturn配置文档:https://github.com/coturn/coturn/wiki/CoturnConfig。
turnserver命令的使用:https://github.com/coturn/coturn/wiki/turnserver。
Ubuntu下的安装
可能默认的apt源里没有coturn对应的deb包,参考这个链接https://packages.debian.org/sid/amd64/coturn/download来修改sources.list,然后执行sudo apt-get update
更新一下,接下来执行下面的命令就可以安装了:
sudo apt-get install coturn
现在的版本是4.5.0.5,实现了RFC 3