Home
last modified time | relevance | path

Searched refs:remote_candidate (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dp2ptransportchannel.cc52 return (a->remote_candidate().generation() + a->port()->generation()) - in CompareConnectionCandidates()
53 (b->remote_candidate().generation() + b->port()->generation()); in CompareConnectionCandidates()
546 Candidate remote_candidate; in OnUnknownAddress() local
549 remote_candidate = *candidate; in OnUnknownAddress()
551 remote_candidate.set_address(address); in OnUnknownAddress()
575 remote_candidate = Candidate(component(), ProtoToString(proto), address, 0, in OnUnknownAddress()
582 remote_candidate.set_foundation( in OnUnknownAddress()
583 rtc::ToString<uint32_t>(rtc::ComputeCrc32(remote_candidate.id()))); in OnUnknownAddress()
585 remote_candidate.set_priority(remote_candidate_priority); in OnUnknownAddress()
597 if (port->GetConnection(remote_candidate.address())) { in OnUnknownAddress()
[all …]
Dtcpport.cc486 int opts = (remote_candidate().protocol() == SSLTCP_PROTOCOL_NAME) in CreateOutgoingTcpSocket()
490 rtc::SocketAddress(port()->ip(), 0), remote_candidate().address(), in CreateOutgoingTcpSocket()
495 << " to " << remote_candidate().address().ToSensitiveString(); in CreateOutgoingTcpSocket()
501 << remote_candidate().address().ToSensitiveString(); in CreateOutgoingTcpSocket()
Dport.cc265 connections_[conn->remote_candidate().address()] = conn; in AddConnection()
644 connections_.find(conn->remote_candidate().address()); in OnConnectionDestroyed()
683 connection_->remote_candidate().username(), &username); in Prepare()
728 request->AddMessageIntegrity(connection_->remote_candidate().password()); in Prepare()
766 const Candidate& remote_candidate) in Connection() argument
769 remote_candidate_(remote_candidate), in Connection()
936 data, size, remote_candidate().password())) { in OnReadPacket()
1175 const Candidate& remote = remote_candidate(); in ToString()
1406 const Candidate& remote_candidate) in ProxyConnection() argument
1407 : Connection(port, index, remote_candidate) {} in ProxyConnection()
Dp2ptransportchannel.h203 bool CreateConnections(const Candidate& remote_candidate,
206 const Candidate& remote_candidate,
212 void RememberRemoteCandidate(const Candidate& remote_candidate,
Dp2ptransportchannel_unittest.cc728 &ch->best_connection()->remote_candidate() : NULL; in RemoteCandidate()
1172 EXPECT_EQ("prflx", ep1_ch1()->best_connection()->remote_candidate().type()); in TEST_F()
1176 ep1_ch1()->best_connection()->remote_candidate().username()); in TEST_F()
1177 EXPECT_EQ("", ep1_ch1()->best_connection()->remote_candidate().password()); in TEST_F()
1184 ep1_ch1()->best_connection()->remote_candidate().password()); in TEST_F()
1191 ep1_ch1()->best_connection()->remote_candidate().type(), in TEST_F()
1214 EXPECT_EQ("prflx", ep1_ch1()->best_connection()->remote_candidate().type()); in TEST_F()
1218 ep1_ch1()->best_connection()->remote_candidate().username()); in TEST_F()
1219 EXPECT_EQ("", ep1_ch1()->best_connection()->remote_candidate().password()); in TEST_F()
1226 ep1_ch1()->best_connection()->remote_candidate().password()); in TEST_F()
[all …]
Dportinterface.h72 const Candidate& remote_candidate, CandidateOrigin origin) = 0;
Dport.h432 const Candidate& remote_candidate() const { return remote_candidate_; } in remote_candidate() function
649 ProxyConnection(Port* port, size_t index, const Candidate& remote_candidate);
Dtransport.h115 Candidate remote_candidate; // The remote candidate for this connection. member
Dport_unittest.cc162 virtual Connection* CreateConnection(const Candidate& remote_candidate, in CreateConnection() argument
164 Connection* conn = new ProxyConnection(this, 0, remote_candidate); in CreateConnection()
237 void CreateConnection(const Candidate& remote_candidate) { in CreateConnection() argument
238 conn_ = port_->CreateConnection(remote_candidate, Port::ORIGIN_MESSAGE); in CreateConnection()
256 void AcceptConnection(const Candidate& remote_candidate) { in AcceptConnection() argument
258 Candidate c = remote_candidate; in AcceptConnection()
Dturnport.cc994 const rtc::SocketAddress& remote_address = conn->remote_candidate().address(); in OnConnectionDestroyed()
/external/webrtc/talk/app/webrtc/
Dstatscollector.cc625 AddCandidateReport(info.remote_candidate, false)->id()); in AddConnectionInfoReport()
643 info.remote_candidate.address().ToString()); in AddConnectionInfoReport()
645 info.remote_candidate.type()); in AddConnectionInfoReport()
Dwebrtcsession.cc2132 const cricket::Candidate& remote = it_info->remote_candidate; in ReportBestConnectionState()
Dwebrtcsession_unittest.cc3007 if (conn_info.remote_candidate.address().port() == port) { in TEST_F()
/external/webrtc/talk/session/media/
Dchannel.cc831 << "->" << it->remote_candidate.ToSensitiveString(); in ChannelWritable_w()