所有分类
  • 所有分类
  • APP源码

centos下安装turnserver

安装

yum install libevent-devel libevent
yum install epel-release -y
yum install turnserver

配置turnserver.conf

vi /etc/coturn/turnserver.conf

部分内容参考如下

# 监听端口,不配置的话,默认是3478
listening-port=3478
# 外网地址
external-ip=112.74.183.177
# 设置用户名及密码,可设置多个
user=tan:123
no-cli
cli-password=$5$79a316b350311570$81df9cfb9af7f5e5a76eada31e7097b663a0670f99a3c07ded3f1c8e59c5658a

启动 turn server

systemctl start coturn
停止turn sever
systemctl stop coturn

测试服务

用较新版的firefox打开
https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/

配置turn服务器

0

评论0

C926-Python框架TG飞机机器人监听源码,电报机器人无漏授权盗U,阈值自动提币转账,一键部署盗u合约地
C926-Python框架TG飞机机器人监听源码,电报机器人无漏授权盗U,阈值自动提币转账,一键部署盗u合约地
1分钟前 有人购买 去瞅瞅看

站点公告

(Dear)亲,( Huanya Resource Station is now open!)现在环亚资源站已开站! (All resources can watch content, and we have enabled payment!)所有资源可以观看内容,我们已经开启了支付功能! (Consult customer service before placing an order to enjoy a 20% discount. Thank you for your attention and trust. We will show you better and higher-quality resources.)下单前咨询客服享受8折优惠,感谢您的关注信赖,我们将展示更好更优质的资源给您
显示验证码
没有账号?注册  忘记密码?