1.首先克隆这个项目:https://github.com/konoui/kurento-coturn-docker.git


2.这个dockerfile给你配置turn的用户名和密码都是kurento


cd /kurento-coturn-docker/coturn/
//使用dockerfile,记住加点
sudo docker build --tag coturn .
//后台运行coturn
sudo docker run -p 3478:3478 -p 3478:3478/udp coturn

3.你可以用这个网址去测试stun和turn的有效性:


https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/


点赞(2) 打赏

评论列表 共有 0 条评论

暂无评论

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部