WebRTC之搭建coturn服务遇到的问题

本文详细介绍了在Ubuntu 18.04上搭建WebRTC的Coturn服务过程中可能遇到的问题及解决方法,包括编译错误、配置证书、设置端口范围以及启动turnserver时的注意事项,同时提供了端口检查和trickle-ice测试的链接,帮助确保Coturn服务正常运行。
摘要由CSDN通过智能技术生成

准备工作

准备一台云服务器,没有的小伙伴可以去撸谷歌云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
  • 1
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

死磕音视频

你的打赏是我分享的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值