Home
last modified time | relevance | path

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

/external/webrtc/p2p/base/
Dp2p_transport_channel.cc221 IsRemoteCandidatePruned(connection->remote_candidate()); in P2PTransportChannel()
434 SanitizeRemoteCandidate(selected_connection_->remote_candidate()); in GetSelectedCandidatePair()
1094 Candidate remote_candidate; in OnUnknownAddress() local
1097 remote_candidate = *candidate; in OnUnknownAddress()
1128 remote_candidate = Candidate( in OnUnknownAddress()
1133 remote_candidate.set_tcptype(TCPTYPE_ACTIVE_STR); in OnUnknownAddress()
1139 remote_candidate.set_foundation( in OnUnknownAddress()
1140 rtc::ToString(rtc::ComputeCrc32(remote_candidate.id()))); in OnUnknownAddress()
1152 if (port->GetConnection(remote_candidate.address())) { in OnUnknownAddress()
1156 << remote_candidate.ToSensitiveString(); in OnUnknownAddress()
[all …]
Dp2p_transport_channel_unittest.cc251 return pair->remote_candidate().address().EqualIPs(address); in HasRemoteAddress()
664 auto remote_candidate = RemoteCandidate(channel); in CheckCandidate() local
667 remote_candidate != nullptr && in CheckCandidate()
668 remote_candidate->address().EqualIPs(to); in CheckCandidate()
962 ? &ch->selected_connection()->remote_candidate() in RemoteCandidate()
1679 EXPECT_EQ(PRFLX_PORT_TYPE, selected_connection->remote_candidate().type()); in TEST_P()
1680 EXPECT_EQ(kIceUfrag[1], selected_connection->remote_candidate().username()); in TEST_P()
1681 EXPECT_EQ(kIcePwd[1], selected_connection->remote_candidate().password()); in TEST_P()
1682 EXPECT_EQ(1u, selected_connection->remote_candidate().generation()); in TEST_P()
1687 ep1_ch1()->selected_connection()->remote_candidate().type(), in TEST_P()
[all …]
Dconnection.cc214 const Candidate& remote_candidate) in Connection() argument
219 remote_candidate_(remote_candidate), in Connection()
260 const Candidate& Connection::remote_candidate() const { in remote_candidate() function in cricket::Connection
481 msg->ValidateMessageIntegrity(remote_candidate().password()); in OnReadPacket()
484 if (remote_candidate().password() != msg->password()) { in OnReadPacket()
488 << absl::CHexEscape(remote_candidate().password()); in OnReadPacket()
557 remote_candidate().type() == RELAY_PORT_TYPE || in HandleStunBindingOrGoogPingRequest()
558 remote_candidate().type() == PRFLX_PORT_TYPE) { in HandleStunBindingOrGoogPingRequest()
1254 const Candidate& remote = remote_candidate(); in ToString()
1289 const Candidate& remote = remote_candidate(); in ToLogDescription()
[all …]
Dbasic_ice_controller.cc20 conn->remote_candidate().type() == cricket::RELAY_PORT_TYPE; in IsRelayRelay()
267 const Candidate& remote = conn->remote_candidate(); in IsPingable()
568 (conn->remote_candidate().type() == RELAY_PORT_TYPE || in PresumedWritable()
569 conn->remote_candidate().type() == PRFLX_PORT_TYPE)); in PresumedWritable()
668 int cmp = (a->remote_candidate().generation() + a->generation()) - in CompareConnectionCandidates()
669 (b->remote_candidate().generation() + b->generation()); in CompareConnectionCandidates()
Dtcp_port.cc572 int opts = (remote_candidate().protocol() == SSLTCP_PROTOCOL_NAME) in CreateOutgoingTcpSocket()
584 remote_candidate().address(), port()->proxy(), port()->user_agent(), in CreateOutgoingTcpSocket()
590 << remote_candidate().address().ToSensitiveString(); in CreateOutgoingTcpSocket()
596 << remote_candidate().address().ToSensitiveString(); in CreateOutgoingTcpSocket()
Dcandidate_pair_interface.h23 virtual const Candidate& remote_candidate() const = 0;
Dturn_port.cc577 Connection* TurnPort::CreateConnection(const Candidate& remote_candidate, in CreateConnection() argument
580 if (!SupportsProtocol(remote_candidate.protocol())) { in CreateConnection()
591 if (absl::EndsWith(remote_candidate.address().hostname(), LOCAL_TLD)) { in CreateConnection()
602 remote_candidate.address().family()) { in CreateConnection()
604 new ProxyConnection(NewWeakPtr(), index, remote_candidate); in CreateConnection()
1215 const Candidate& remote_candidate = conn->remote_candidate(); in CreateOrRefreshEntry() local
1216 TurnEntry* entry = FindEntry(remote_candidate.address()); in CreateOrRefreshEntry()
1232 const rtc::SocketAddress& remote_address = conn->remote_candidate().address(); in HandleConnectionDestroyed()
1750 ext_addr_(conn->remote_candidate().address()), in TurnEntry()
Dconnection.h51 const Candidate& remote_candidate() const override { return remote; } in remote_candidate() function
81 const Candidate& remote_candidate() const override;
472 const Candidate& remote_candidate);
Dconnection_info.h64 Candidate remote_candidate; // The remote candidate for this connection. member
Dp2p_transport_channel.h306 bool CreateConnections(const Candidate& remote_candidate,
309 const Candidate& remote_candidate,
315 void RememberRemoteCandidate(const Candidate& remote_candidate,
Dport_interface.h78 virtual Connection* CreateConnection(const Candidate& remote_candidate,
Dport.cc343 std::make_pair(conn->remote_candidate().address(), conn)); in AddOrReplaceConnection()
351 << conn->remote_candidate().ToSensitiveString(); in AddOrReplaceConnection()
911 if (connections_.erase(conn->remote_candidate().address()) == 0) { in OnConnectionDestroyed()
Dturn_port_unittest.cc1553 Candidate remote_candidate(ICE_CANDIDATE_COMPONENT_RTP, "udp", kLocalAddr2, 0, in TEST_F() local
1555 remote_candidate.set_address(kLocalAddr2); in TEST_F()
1557 turn_port_->CreateConnection(remote_candidate, Port::ORIGIN_MESSAGE); in TEST_F()
1562 remote_candidate.set_address(kLocalIPv6Addr2); in TEST_F()
1563 conn = turn_port_->CreateConnection(remote_candidate, Port::ORIGIN_MESSAGE); in TEST_F()
Dport_unittest.cc204 virtual Connection* CreateConnection(const Candidate& remote_candidate, in CreateConnection() argument
206 Connection* conn = new ProxyConnection(NewWeakPtr(), 0, remote_candidate); in CreateConnection()
288 void CreateConnection(const Candidate& remote_candidate) { in CreateConnection() argument
290 conn_ = port_->CreateConnection(remote_candidate, Port::ORIGIN_MESSAGE); in CreateConnection()
308 void AcceptConnection(const Candidate& remote_candidate) { in AcceptConnection() argument
314 Candidate c = remote_candidate; in AcceptConnection()
2165 EXPECT_EQ(rtc::kNetworkCostLow, rconn->remote_candidate().network_cost()); in TEST_F()
2174 EXPECT_EQ(rtc::kNetworkCostHigh, rconn->remote_candidate().network_cost()); in TEST_F()
3673 EXPECT_EQ(0u, conn_in_use->remote_candidate().generation()); in TEST_F()
3683 EXPECT_EQ(2u, conn_in_use->remote_candidate().generation()); in TEST_F()
/external/webrtc/pc/
Drtc_stats_collector_unittest.cc1832 .remote_candidate = *a_remote_srflx.get(); in TEST_F()
1838 .remote_candidate = *a_remote_relay.get(); in TEST_F()
1844 .remote_candidate = *a_remote_relay.get(); in TEST_F()
1850 .remote_candidate = *a_remote_relay.get(); in TEST_F()
1863 .remote_candidate = *b_remote.get(); in TEST_F()
1916 std::unique_ptr<cricket::Candidate> remote_candidate = CreateFakeCandidate( in TEST_F() local
1919 remote_candidate->set_related_address(rtc::SocketAddress("192.168.2.1", 43)); in TEST_F()
1920 remote_candidate->set_username("remote_iceusernamefragment"); in TEST_F()
1925 connection_info.remote_candidate = *remote_candidate.get(); in TEST_F()
1957 "CP" + local_candidate->id() + "_" + remote_candidate->id(), in TEST_F()
[all …]
Dlegacy_stats_collector.cc776 cricket::CandidateStats remote_candidate_stats(info.remote_candidate); in AddConnectionInfoReport()
805 info.remote_candidate.address().ToString()); in AddConnectionInfoReport()
807 info.remote_candidate.type()); in AddConnectionInfoReport()
Drtc_stats_integrationtest.cc561 const RTCRemoteIceCandidateStats& remote_candidate) { in VerifyRTCRemoteIceCandidateStats() argument
562 return VerifyRTCIceCandidateStats(remote_candidate); in VerifyRTCRemoteIceCandidateStats()
Dpeer_connection.cc2072 event.selected_candidate_pair.remote_candidate().type() == in OnSelectedCandidatePairChanged()
2783 const cricket::Candidate& remote = connection_info.remote_candidate; in ReportBestConnectionState()
Drtc_stats_collector.cc97 sb << "CP" << info.local_candidate.id() << "_" << info.remote_candidate.id(); in RTCIceCandidatePairStatsIDFromConnectionInfo()
1681 timestamp_us, info.remote_candidate, false, transport_id, report); in ProduceIceCandidateAndPairStats_n()
Dlegacy_stats_collector_unittest.cc1307 connection_info.remote_candidate = remote; in TEST_F()
/external/webrtc/sdk/objc/api/peerconnection/
DRTCPeerConnection.mm273 selected_pair.remote_candidate().transport_name(), -1, selected_pair.remote_candidate());
274 RTC_OBJC_TYPE(RTCIceCandidate) *remote_candidate = [[RTC_OBJC_TYPE(RTCIceCandidate) alloc]
283 remoteCandidate:remote_candidate
/external/webrtc/sdk/android/src/jni/pc/
Dpeer_connection.cc131 NativeToJavaCandidate(env, selected_pair.remote_candidate()), in NativeToJavaCandidatePairChange()