跳到主要内容

4. 术语

本文档中的关键词 "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", 和 "OPTIONAL" 只有在如这里所示以全大写形式出现时, 才应按 BCP 14 [RFC2119] [RFC8174] 中的描述解释.

读者需要熟悉 [RFC5389] 中定义的术语, 以及 UDP 的 NAT 行为要求 [RFC4787].

本规范使用以下附加术语:

ICE Session (ICE 会话): ICE 会话由所有与 ICE 相关的动作组成, 从 candidate 收集开始, 随后是 ICE agent 之间的交互, 直到所有 candidate 被释放或触发 ICE restart.

ICE Agent, Agent (ICE agent, agent): ICE agent 是参与 ICE candidate 交换的协议实现. 在典型的 candidate 交换中会涉及两个 agent.

Initiating Peer, Initiating Agent, Initiator (发起对等方, 发起 agent, 发起者): 发起 agent 是启动 ICE candidate 交换过程的 ICE agent.

Responding Peer, Responding Agent, Responder (响应对等方, 响应 agent, 响应者): 响应 agent 是接收并响应由发起 agent 启动的 candidate 交换过程的 ICE agent.

Candidate, Candidate Information (candidate, candidate 信息): 一个传输地址, 可作为接收数据的潜在联系点. Candidate 还具有若干属性 -- 类型 (server reflexive, relayed, 或 host), priority, foundation, 和 base.

Host Candidate (host candidate): 通过绑定到主机上某个 IP 地址的特定端口而获得的 candidate.

Server-Reflexive Candidate (server-reflexive candidate): 当 ICE agent 通过 NAT 向服务器发送分组后, 其 IP 地址和端口为 NAT 给该 ICE agent 分配的绑定的 candidate.

Peer-Reflexive Candidate (peer-reflexive candidate): 当 ICE agent 通过 NAT 向其对等方发送分组后, 其 IP 地址和端口为 NAT 给该 ICE agent 分配的绑定的 candidate.

Relayed Candidate (relayed candidate): 从中继服务器获得的 candidate, 例如 TURN 服务器.

Candidate Pair (candidate pair): 包含一个 local candidate 和一个 remote candidate 的配对.

Checklist (checklist): ICE agent 将用于生成检查的 candidate pair 有序集合.

Valid Pair (valid pair): 其 local candidate 等于一次成功的 connectivity-check 响应中映射地址的 candidate pair.

Controlling Agent (controlling agent): 负责 nominate candidate pair 的 ICE agent.

Controlled Agent (controlled agent): 等待 controlling agent nominate candidate pair 的 ICE agent.

Selected Pair, Selected Candidate Pair (selected pair, selected candidate pair): 用于为数据流的某个 component 发送和接收数据的 candidate pair.