跳到主要内容

7. 执行连接性检查

本节描述如何执行 connectivity check.

7.1. STUN 扩展

ICE 使用以下属性扩展 STUN: PRIORITY, USE-CANDIDATE, ICE-CONTROLLED, 和 ICE-CONTROLLING.

7.1.1. PRIORITY

Binding request 中 MUST 包含 PRIORITY 属性, 并将其设置为针对 local candidate 计算出的值.

7.1.2. USE-CANDIDATE

Controlling agent MUST 包含 USE-CANDIDATE 属性, 以 nominate 一个 candidate pair.

7.1.3. ICE-CONTROLLED and ICE-CONTROLLING

Controlling agent MUST 在 Binding request 中包含 ICE-CONTROLLING 属性. Controlled agent MUST 包含 ICE-CONTROLLED 属性.