【发布时间】:2021-07-13 16:23:43
【问题描述】:
我使用coturn 作为我的TURN 服务器在WebRTC 连接中进行中继。我想要实现的是基于TCP 的连接和不是UDP。
我尝试过的:
在 coturn 配置中,我已将 no-udp 和 no-udp-relay 设置为仅强制基于 TCP 的连接。
# Uncomment if no UDP client listener is desired.
# By default UDP client listener is always started.
#
no-udp
# Uncomment if no UDP relay endpoints are allowed.
# By default UDP relay endpoints are enabled (like in RFC 5766).
#
no-udp-relay
每当我尝试建立连接时,我都会收到turn server may be broken。
可能有用的细节,A 和 B 正在尝试交流
- 在机器
A上,我得到了 3 个 UDP 候选者和 3 个 TCP 候选者 - 在机器
B上,我只得到 3 个 UDP 候选者。 - 两者都使用 Firefox
当我阅读firefox documentation 时,我看到
TCPice 候选类型没有任何relay或TURN连接。这会是失败的原因吗?
问题是,失败的原因是什么?
编辑:这是来自 Chromium 页面https://bugs.chromium.org/p/chromium/issues/detail?id=1201700#c5的最新一期
【问题讨论】:
标签: tcp webrtc voip sdp coturn