我已经在我的本地机器(ubuntu)中使用 coturn 设置了一个转弯服务器。我的配置turnserver.cnf
如下。
realm=103.30.29.133
fingerprint
listening-ip=0.0.0.0
external-ip=103.30.29.133
relay-ip=0.0.0.0
listening-port=3478
min-port=10000
max-port=20000
log-file=/var/log/turnserver.log
verbose
user=test:1234
lt-cred-mech
我103.30.29.133
从https://www.whatsmyip.org/
. 启动转服务器后,它运行良好。我可以看到以下状态
● coturn.service - coturn
Loaded: loaded (/etc/systemd/system/coturn.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2020-03-03 11:36:58 +06; 3s ago
Docs: man:coturn(1)
man:turnadmin(1)
man:turnserver(1)
Process: 21435 ExecStart=/usr/bin/turnserver --daemon --pidfile /run/turnserver/turnserver.pid --syslog -c /etc/turnserver.conf $EXTRA_OPTIONS (code
Main PID: 21445 (turnserver)
Tasks: 9 (limit: 4915)
CGroup: /system.slice/coturn.service
└─21445 /usr/bin/turnserver --daemon --pidfile /run/turnserver/turnserver.pid --syslog -c /etc/turnserver.conf
但是,如果我通过https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/检查它,我会收到以下错误
The server stun:103.30.29.133:3478 returned an error with code=701:
可能出了什么问题?我该如何解决?