我已经尝试使用Redis的数据库备份来设置turn服务器,下面是相同的配置。
listening-port=3478
tls-listening-port=5349
listening-ip=<my_ip>
realm=<domain_name>
total-quota=100
bps-capacity=100
stale-nonce=600
min-port=49152
max-port=65535
fingerprint
lt-cred-mech
use-auth-secret
static-auth-secret=<my_auth_key>
server-name=<domain_name>
redis-userdb=<redis_conn_string>
我用下面的代码测试这个服务器:https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/,我得到了以下错误。
The server turn:<domain_name>:3479?transport=udp returned an error with code=701:
我想知道为什么会发生这种情况。提前感谢您的时间-如果我遗漏了任何东西,过度强调或不强调某一点,请在评论中让我知道。
发布于 2020-06-08 00:09:29
确保STUN/TURN服务器同时绑定到IPv4和IPv6地址,否则将发生此超时。
https://stackoverflow.com/questions/61231764
复制相似问题