Home
last modified time | relevance | path

Searched refs:candidate_type (Results 1 – 21 of 21) sorted by relevance

/webrtc/ice/src/candidate/
H A Dcandidate_test.rs10 candidate_type: CandidateType::Host, in test_candidate_priority()
18 candidate_type: CandidateType::Host, in test_candidate_priority()
28 candidate_type: CandidateType::Host, in test_candidate_priority()
38 candidate_type: CandidateType::Host, in test_candidate_priority()
144 candidate_type: CandidateType::Host, in test_candidate_foundation()
151 candidate_type: CandidateType::Host, in test_candidate_foundation()
162 candidate_type: CandidateType::Host, in test_candidate_foundation()
169 candidate_type: CandidateType::Host, in test_candidate_foundation()
180 candidate_type: CandidateType::Host, in test_candidate_foundation()
187 candidate_type: CandidateType::Host, in test_candidate_foundation()
[all …]
H A Dcandidate_base.rs39 pub(crate) candidate_type: CandidateType, field
69 candidate_type: CandidateType::default(), in default()
101 self.candidate_type(), in fmt()
111 self.candidate_type(), in fmt()
127 buf.extend_from_slice(self.candidate_type().to_string().as_bytes()); in foundation()
189 (1 << 24) * u32::from(self.candidate_type().preference()) in priority()
200 fn candidate_type(&self) -> CandidateType { in candidate_type() method
201 self.candidate_type in candidate_type()
218 self.candidate_type() in marshal()
287 && self.candidate_type() == other.candidate_type() in equal()
[all …]
H A Dmod.rs72 fn candidate_type(&self) -> CandidateType; in candidate_type() method
143 candidate_type: CandidateType, in contains_candidate_type()
150 if *ct == candidate_type { in contains_candidate_type()
H A Dcandidate_host.rs26 candidate_type: CandidateType::Host, in new_candidate_host()
H A Dcandidate_peer_reflexive.rs36 candidate_type: CandidateType::PeerReflexive, in new_candidate_peer_reflexive()
H A Dcandidate_server_reflexive.rs35 candidate_type: CandidateType::ServerReflexive, in new_candidate_server_reflexive()
H A Dcandidate_relay.rs39 candidate_type: CandidateType::Relay, in new_candidate_relay()
/webrtc/ice/src/external_ip_mapper/
H A Dmod.rs68 pub(crate) candidate_type: CandidateType, field
72 pub(crate) fn new(mut candidate_type: CandidateType, ips: &[String]) -> Result<Option<Self>> { in new()
76 if candidate_type == CandidateType::Unspecified { in new()
77 candidate_type = CandidateType::Host; // defaults to host in new()
78 } else if candidate_type != CandidateType::Host in new()
79 && candidate_type != CandidateType::ServerReflexive in new()
87 candidate_type, in new()
H A Dexternal_ip_mapper_test.rs27 assert_eq!(m.candidate_type, CandidateType::Host, "should match"); in test_external_ip_mapper_new_external_ip_mapper()
38 m.candidate_type, in test_external_ip_mapper_new_external_ip_mapper()
49 assert_eq!(m.candidate_type, CandidateType::Host, "should match"); in test_external_ip_mapper_new_external_ip_mapper()
61 assert_eq!(m.candidate_type, CandidateType::Host, "should match"); in test_external_ip_mapper_new_external_ip_mapper()
108 assert_eq!(m.candidate_type, CandidateType::Host, "should match"); in test_external_ip_mapper_new_external_ip_mapper_with_explicit_local_ip()
/webrtc/ice/src/agent/
H A Dagent_stats.rs176 pub candidate_type: CandidateType, field
205 candidate_type: CandidateType::default(), in default()
245 candidate_type: c.candidate_type(), in get_local_candidates_stats()
270 candidate_type: c.candidate_type(), in get_remote_candidates_stats()
H A Dagent_config.rs223 if ext_ip_mapper.candidate_type == CandidateType::Host { in init_ext_ip_mapping()
237 } else if ext_ip_mapper.candidate_type == CandidateType::ServerReflexive { in init_ext_ip_mapping()
H A Dagent_gather.rs133 if ext_ip_mapper.candidate_type == CandidateType::ServerReflexive { in gather_candidates_internal()
234 if ext_ip_mapper2.candidate_type == CandidateType::Host { in gather_candidates_local()
398 if mapper.candidate_type != CandidateType::Host { in gather_candidates_local_udp_mux()
H A Dmod.rs268 if c.candidate_type() == CandidateType::Host && c.address().ends_with(".local") { in add_remote_candidate()
277 if c.candidate_type() != CandidateType::Host { in add_remote_candidate()
H A Dagent_selector.rs66 match c.candidate_type() { in is_nominatable()
98 c.candidate_type() in is_nominatable()
H A Dagent_test.rs304 c.candidate_type(), in test_handle_peer_reflexive_udp_pflx_candidate()
1271 stats.candidate_type, in test_local_candidate_stats()
1272 candidate.candidate_type(), in test_local_candidate_stats()
1408 stats.candidate_type, in test_remote_candidate_stats()
1409 candidate.candidate_type(), in test_remote_candidate_stats()
H A Dagent_gather_test.rs298 match candidate.candidate_type() { in test_vnet_gather_with_nat_1to1_as_srflx_candidates()
/webrtc/webrtc/src/ice_transport/
H A Dice_candidate_type.rs61 fn from(candidate_type: CandidateType) -> Self { in from()
62 match candidate_type { in from()
H A Dice_candidate.rs41 let typ: RTCIceCandidateType = c.candidate_type().into(); in from()
/webrtc/ice/src/stats/
H A Dmod.rs157 pub candidate_type: CandidateType, field
/webrtc/webrtc/src/api/setting_engine/
H A Dmod.rs196 pub fn set_nat_1to1_ips(&mut self, ips: Vec<String>, candidate_type: RTCIceCandidateType) { in set_nat_1to1_ips()
198 self.candidates.nat_1to1_ip_candidate_type = candidate_type; in set_nat_1to1_ips()
/webrtc/webrtc/src/stats/
H A Dmod.rs230 pub candidate_type: CandidateType, field
243 candidate_type: stats.candidate_type, in new()