【发布时间】:2018-11-04 18:37:51
【问题描述】:
我已经阅读了 RFC 5389 和 RFC 5245 以及更新的 RFC 8445。 我了解 STUN 在返回服务器自反地址或中继地址方面的工作原理。请求被发送到 STUN 服务器。
我的基本问题是关于使用 STUN 的 ICE 连接检查。第 10 页上的 RFC 8445 状态:
"...At the end of
this process, each ICE agent has a complete list of both its
candidates and its peer's candidates. It pairs them up, resulting in
candidate pairs. To see which pairs work, each agent schedules a
series of connectivity checks. Each check is a STUN request/response
transaction that the client will perform on a particular candidate
pair by sending a STUN request from the local candidate to the remote
candidate."
为了检查候选对的连接性检查,STUN 消息必须至少提供目标 IP 地址、端口、原型。这个 STUN 消息结构在哪里描述?我可以从哪里获得有关 STUN 如何完成此连接检查的详细信息?
【问题讨论】: