参考 ice服务器 coturnhttps://github.com/coturn/coturn
1 2 3 turnserver -o -a -f -v --mobility -m 10 --max-bps=100000 --min-port=32355 --max-port=65535 --user=ling:ling1234 --user=ling2:ling1234 -r demo turnserver -o -a -f -user=llc:123123 -r demo
1 2 3 4 5 6 7 8 9 10 11 12 listening-port=3478 external-ip=47.89.19.250 user=llc:123123 realm=ice.doee.cc cert=/etc/letsencrypt/live/ice.doee.cc/fullchain.pem pkey=/etc/letsencrypt/live/ice.doee.cc/privkey.pem cli-password=123xyz IceServer turnIceServer = new IceServer("turn:47.89.19.250:3478","llc","123123"); IceServer stunIceServer = new IceServer("stun:47.89.19.250:19302","","");
ice 测试https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
webrtc 资料https://webrtc.github.io/samples/
iOShttps://cocoapods.org/pods/GoogleWebRTC