【问题标题】:Cannot trickle ICE server using external IP, Coturn server in Ubuntu无法使用外部 IP 滴流 ICE 服务器,Ubuntu 中的 Coturn 服务器
【发布时间】:2017-11-21 12:20:15
【问题描述】:

我在 Ubuntu 中通过 Url https://www.webrtc-experiment.com/docs/TURN-server-installation-guide.html#coturn 设置了 Coturn 服务器。

Turnserver 使用 local-ip 工作正常,但是当我尝试使用 exernal-ip 进行涓流时,我收到错误 Not reachable?

如果我从浏览器 url 访问 turnserver,我可以使用 external-ip 访问它。我收到消息。

转服务器 https 管理员连接

要使用 HTTPS 管理员连接,您必须使用管理员用户帐户设置数据库表 _admin_user_

我的 turnserver.conf 看起来像:

user=test:test123    
listening-port=3478     
tls-listening-port=5349

listening-ip=192.168.22.101    
relay-ip=192.168.22.101    
external-ip=202.137.12.10

realm=yourdomain.com    
server-name=yourdomain.com

lt-cred-mech    
userdb=/etc/turnuserdb.conf

cert=/etc/ssl/my-certificate.pem
pkey=/etc/ssl/my-private.key

no-stdout-log

我正在使用命令启动转向服务器:

sudo turnserver -a

我尝试使用以下格式涓涓细流:

turn:202.137.12.10:3478[test:test123]

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

请告诉我哪里出错了。

【问题讨论】:

    标签: nat rfc5766turnserver coturn trickle


    【解决方案1】:

    我搞错了,原来是 UDP 端口 3478 被阻止了。如果我使用 TCP 协议(​​转:?transport=tcp[username:password])

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-08-20
      • 1970-01-01
      • 2019-02-02
      • 1970-01-01
      • 2020-06-11
      • 2017-04-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多