收集Candidate过程创建PortAllocatorSessionCreateSession创建上下文P2PTransportChannel开始端口的收集StartGettingPorts消息处理机 收集Candidate过程 创建PortAllocatorSession CreateSession创建上下文P P2PTransportChannel 开始端口的收集 StartGettingPorts 消息处理机通过状态机一步步的去获取端口分配,收集candidate。然后对端连接上后,发送最终使用的candidate,本端收到STOP后,停止状态机。