Home
last modified time | relevance | path

Searched refs:local_candidate (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/p2p/base/
Dconnection.cc255 const Candidate& Connection::local_candidate() const { in local_candidate() function in cricket::Connection
287 g = local_candidate().priority(); in priority()
291 d = local_candidate().priority(); in priority()
555 if (local_candidate().type() == RELAY_PORT_TYPE || in HandleStunBindingOrGoogPingRequest()
556 local_candidate().type() == PRFLX_PORT_TYPE || in HandleStunBindingOrGoogPingRequest()
697 response.AddMessageIntegrity(local_candidate().password()); in SendStunBindingResponse()
709 response.AddMessageIntegrity32(local_candidate().password()); in SendGoogPingResponse()
1253 const Candidate& local = local_candidate(); in ToString()
1288 const Candidate& local = local_candidate(); in ToLogDescription()
1524 stats_.local_candidate = local_candidate(); in stats()
Dp2p_transport_channel_unittest.cc246 return pair->local_candidate().address().EqualIPs(address); in HasLocalAddress()
663 auto local_candidate = LocalCandidate(channel); in CheckCandidate() local
665 return local_candidate != nullptr && in CheckCandidate()
666 local_candidate->address().EqualIPs(from) && in CheckCandidate()
957 ? &ch->selected_connection()->local_candidate() in LocalCandidate()
3595 conn->local_candidate().username() + ":" + std::string(remote_ufrag))); in ReceivePingOnConnection()
3606 msg.AddMessageIntegrity(conn->local_candidate().password()); in ReceivePingOnConnection()
3646 return pair->local_candidate().network_id() == in CandidatePairMatchesNetworkRoute()
3660 return last_selected_pair.local_candidate().IsEquivalent( in ConnectionMatchesChangeEvent()
3661 conn->local_candidate()) && in ConnectionMatchesChangeEvent()
[all …]
Dcandidate_pair_interface.h22 virtual const Candidate& local_candidate() const = 0;
Dconnection_info.h63 Candidate local_candidate; // The local candidate for this connection. member
Dconnection.h50 const Candidate& local_candidate() const override { return local; } in local_candidate() function
79 const Candidate& local_candidate() const override;
Dbasic_ice_controller.cc19 return conn->local_candidate().type() == cricket::RELAY_PORT_TYPE && in IsRelayRelay()
24 return conn->local_candidate().relay_protocol() == cricket::UDP_PROTOCOL_NAME; in IsUdp()
567 conn->local_candidate().type() == RELAY_PORT_TYPE && in PresumedWritable()
Dp2p_transport_channel.cc432 pair.local = SanitizeLocalCandidate(selected_connection_->local_candidate()); in GetSelectedCandidatePair()
1673 stats.local_candidate = SanitizeLocalCandidate(stats.local_candidate); in GetStats()
1794 conn->local_candidate().type() == RELAY_PORT_TYPE && in PresumedWritable()
1909 /* local= */ true, conn->local_candidate(), in ConfigureNetworkRoute()
1917 conn->local_candidate().address().ipaddr().overhead() + in ConfigureNetworkRoute()
1918 GetProtocolOverhead(conn->local_candidate().protocol())}; in ConfigureNetworkRoute()
2247 bool latest_generation = connection->local_candidate().generation() >= in OnConnectionStateChange()
Dturn_port.cc599 const Candidate& local_candidate = Candidates()[index]; in CreateConnection() local
600 if (local_candidate.type() == RELAY_PORT_TYPE && in CreateConnection()
601 local_candidate.address().family() == in CreateConnection()
/external/webrtc/pc/
Dlegacy_stats_collector.cc775 cricket::CandidateStats local_candidate_stats(info.local_candidate); in AddConnectionInfoReport()
801 info.local_candidate.address().ToString()); in AddConnectionInfoReport()
803 info.local_candidate.type()); in AddConnectionInfoReport()
809 info.local_candidate.protocol()); in AddConnectionInfoReport()
811 info.local_candidate.relay_protocol()); in AddConnectionInfoReport()
Drtc_stats_collector_unittest.cc1830 .local_candidate = *a_local_host.get(); in TEST_F()
1836 .local_candidate = *a_local_prflx.get(); in TEST_F()
1842 .local_candidate = *a_local_relay.get(); in TEST_F()
1848 .local_candidate = *a_local_relay_prflx.get(); in TEST_F()
1861 .local_candidate = *b_local.get(); in TEST_F()
1911 std::unique_ptr<cricket::Candidate> local_candidate = in TEST_F() local
1914 local_candidate->set_username("local_iceusernamefragment"); in TEST_F()
1924 connection_info.local_candidate = *local_candidate.get(); in TEST_F()
1957 "CP" + local_candidate->id() + "_" + remote_candidate->id(), in TEST_F()
1961 expected_pair.local_candidate_id = "I" + local_candidate->id(); in TEST_F()
[all …]
Drtc_stats_integrationtest.cc556 const RTCLocalIceCandidateStats& local_candidate) { in VerifyRTCLocalIceCandidateStats() argument
557 return VerifyRTCIceCandidateStats(local_candidate); in VerifyRTCLocalIceCandidateStats()
Dpeer_connection.cc2070 if (event.selected_candidate_pair.local_candidate().type() == in OnSelectedCandidatePairChanged()
2782 const cricket::Candidate& local = connection_info.local_candidate; in ReportBestConnectionState()
Drtc_stats_collector.cc97 sb << "CP" << info.local_candidate.id() << "_" << info.remote_candidate.id(); in RTCIceCandidatePairStatsIDFromConnectionInfo()
1679 timestamp_us, info.local_candidate, true, transport_id, report); in ProduceIceCandidateAndPairStats_n()
Dlegacy_stats_collector_unittest.cc1306 connection_info.local_candidate = local; in TEST_F()
/external/webrtc/pc/test/
Dintegration_test_helpers.h1124 const auto& local_candidate = candidate->candidate(); in OnIceCandidate() local
1125 if (local_candidate.address().IsUnresolvedIP()) { in OnIceCandidate()
1126 RTC_DCHECK(local_candidate.type() == cricket::LOCAL_PORT_TYPE); in OnIceCandidate()
1127 rtc::SocketAddress resolved_addr(local_candidate.address()); in OnIceCandidate()
1129 local_candidate.address().hostname()); in OnIceCandidate()
/external/webrtc/sdk/objc/api/peerconnection/
DRTCPeerConnection.mm269 selected_pair.local_candidate().transport_name(), -1, selected_pair.local_candidate());
270 RTC_OBJC_TYPE(RTCIceCandidate) *local_candidate = [[RTC_OBJC_TYPE(RTCIceCandidate) alloc]
282 didChangeLocalCandidate:local_candidate
/external/webrtc/sdk/android/src/jni/pc/
Dpeer_connection.cc130 env, NativeToJavaCandidate(env, selected_pair.local_candidate()), in NativeToJavaCandidatePairChange()