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/
发表评论 取消回复