WebRTC系列--- turn服务搭建

1. ubuntu上coturn服务器部署

ubuntu上有编译好的源(apt-get)可以直接使用,这里推荐文章如何在Ubuntu 18.04中使用Coturn创建和配置自己的STUN/TURN服务器中文,英文地址How to create and configure your own STUN/TURN server with coturn in Ubuntu 18.04上面的按照一步步操作基本就能搞搭建好;
别的不说直接先拉源码,在home下新建一个文件夹用于存放源码,然后执行下列命令:

  git clone https//github.com/coturn/coturn.git

然后执行:

cd coturn/
./configure --prefix

猜你喜欢

转载自blog.csdn.net/lym594887256/article/details/124398769
今日推荐