(port.cc:423): Port::FinishAddingAddress
(basic_port_allocator.cc:911): BasicPortAllocatorSession::OnCandidateReadyPort[6802a4f0:0:1:0:local:Net[enp4s0:109.123.120.0/24:Unknown:id=1]]: Gathered candidate: Cand[:2783785360:1:udp:2122260223:109.123.120.107:35987:local::0:huTY:eeXJxYYn5Yso60MXrcwGsrpU:1:50:0]
(p2p_transport_channel.cc:836): P2PTransportChannel::OnCandidatesReady
(jsep_transport_controller.cc:1222): JsepTransportController::OnTransportCandidateGathered_n
(peer_connection.cc:6039): PeerConnection::OnTransportControllerCandidatesGathered
(peer_connection.cc:4118): PeerConnection::OnIceCandidate
(conductor.cc:231): Conductor::OnIceCandidate 0
重复4次,收集到4个端口,最后只用一个?
(basic_port_allocator.cc:911): BasicPortAllocatorSession::OnCandidateReadyPort[2802a4f0:0:1:0:local:Net[enp4s0:109.123.120.0/24:Unknown:id=1]]: Gathered candidate: Cand[:2783785360:1:udp:2122260223:109.123.120.107:35987:local::0:huTY:eeXJxYYn5Yso60MXrcwGsrpU:1:50:0]
(basic_port_allocator.cc:911): BasicPortAllocatorSession::OnCandidateReadyPort[2802bee0:1:1:0:local:Net[enp4s0:109.123.120.0/24:Unknown:id=1]]: Gathered candidate: Cand[:2783785360:1:udp:2122260223:109.123.120.107:39566:local::0:huTY:eeXJxYYn5Yso60MXrcwGsrpU:1:50:0]
(basic_port_allocator.cc:911): BasicPortAllocatorSession::OnCandidateReadyPort[2802cfa0:0:1:0:local:Net[enp4s0:109.123.120.0/24:Unknown:id=1]]: Gathered candidate: Cand[:3949907296:1:tcp:1518280447:109.123.120.107:59965:local::0:huTY:eeXJxYYn5Yso60MXrcwGsrpU:1:50:0]
(basic_port_allocator.cc:911): BasicPortAllocatorSession::OnCandidateReadyPort[2802e5a0:1:1:0:local:Net[enp4s0:109.123.120.0/24:Unknown:id=1]]: Gathered candidate: Cand[:3949907296:1:tcp:1518280447:109.123.120.107:53829:local::0:huTY:eeXJxYYn5Yso60MXrcwGsrpU:1:50:0]
Peerconnection->JsepTransportController-> P2PtransportChannel-> BasicPortAllocatorSession->port
transport_controller_->SignalIceCandidatesGathered.connect(this,&PeerConnection::OnTransportControllerCandidatesGathered);
dtls->ice_transport()->SignalCandidateGathered.connect(this,&JsepTransportController::OnTransportCandidateGathered_n);
session->SignalCandidatesReady.connect(this,&P2PTransportChannel::OnCandidatesReady);
port->SignalCandidateReady.connect(this,&BasicPortAllocatorSession::OnCandidateReady);
SignalCandidateReady(this, c);