我对rfc5766-turn-server有以下设置,但我还不确定如何在turnserver.conf中启用TLS?rfc5766-turn-server - 如何启用TLS和HTTP CONNECT方法呢?
任何想法,缺什么,以确保TLS被激活,相关人士透露缺少什么吗?
# cat turnserver.conf
user=root:root
realm=x.x.x.x
#no-tls
#no-dtls
syslog
aux-server=x.x.x.x:80
aux-server=x.x.x.x:443
问题:当TURN客户端与以下原语连接,与上述TURN服务器则有自动开启会话关闭的问题。
config: '{"iceServers":[{"urls":"stun:stun.l.google.com:19302"},
{"credential":"root","urls":"turn:[email protected]:443?transport=tcp"}],
"iceTransports":"relay"}';
注:443 TCP
或
config: '{"iceServers":[{"urls":"stun:stun.l.google.com:19302"},
{"credential":"root","urls":"turn:[email protected]:80?transport=tcp"}],
"iceTransports":"relay"}';
注:80 TCP
以我的经验,最快捷的方式得到的回复是在https://groups.google.com/forum/#!forum/turn-server-project-rfc5766-turn-server上询问。请做到这一点,并总结下面收到的答案,以便其他用户可以从中受益。 – Gili