准备工作
准备一台云服务器,没有的小伙伴可以去撸谷歌云300刀
我这里是Ubuntu18.04
clone coturn代码
git clone https://github.com/coturn/coturn.git
不懂git的请自行百度
编译coturn
cd coturn
./configure --prefix=/usr/local/coturn
编译后的文件目录为/usr/local/coturn
错误1
install is /usr/bin/install
pkill is /usr/bin/pkill
sqlite3 is /usr/bin/sqlite3
Use TMP dir /var/tmp
Compiler: cc
Library option -lsocket cannot be used
Library option -lrt cannot be used
Library option -lwldap32 cannot be used
Library option -lwldap64 cannot be used
Library option -lintl cannot be used
Library option -lnsl cannot be used
Sockets code is fine: si
本文详细介绍了在Ubuntu 18.04上搭建WebRTC的Coturn服务过程中可能遇到的问题及解决方法,包括编译错误、配置证书、设置端口范围以及启动turnserver时的注意事项,同时提供了端口检查和trickle-ice测试的链接,帮助确保Coturn服务正常运行。
订阅专栏 解锁全文
886

被折叠的 条评论
为什么被折叠?



