Home
last modified time | relevance | path

Searched refs:RTCIceCandidateType (Results 1 – 5 of 5) sorted by relevance

/webrtc/webrtc/src/ice_transport/
H A Dice_candidate_type.rs7 pub enum RTCIceCandidateType { enum
48 impl From<&str> for RTCIceCandidateType { implementation
55 _ => RTCIceCandidateType::Unspecified, in from()
60 impl From<CandidateType> for RTCIceCandidateType { implementation
67 _ => RTCIceCandidateType::Unspecified, in from()
72 impl fmt::Display for RTCIceCandidateType { implementation
92 ("host", RTCIceCandidateType::Host), in test_ice_candidate_type()
93 ("srflx", RTCIceCandidateType::Srflx), in test_ice_candidate_type()
94 ("prflx", RTCIceCandidateType::Prflx), in test_ice_candidate_type()
95 ("relay", RTCIceCandidateType::Relay), in test_ice_candidate_type()
[all …]
H A Dice_candidate.rs13 use crate::ice_transport::ice_candidate_type::RTCIceCandidateType;
25 pub typ: RTCIceCandidateType,
41 let typ: RTCIceCandidateType = c.candidate_type().into(); in from()
69 RTCIceCandidateType::Host => { in to_ice()
86 RTCIceCandidateType::Srflx => { in to_ice()
103 RTCIceCandidateType::Prflx => { in to_ice()
120 RTCIceCandidateType::Relay => { in to_ice()
H A Dice_gatherer.rs4 use crate::ice_transport::ice_candidate_type::RTCIceCandidateType;
101 RTCIceCandidateType::Host => CandidateType::Host, in create_agent()
102 RTCIceCandidateType::Srflx => CandidateType::ServerReflexive, in create_agent()
/webrtc/webrtc/src/api/setting_engine/
H A Dmod.rs5 use crate::ice_transport::ice_candidate_type::RTCIceCandidateType;
42 pub nat_1to1_ip_candidate_type: RTCIceCandidateType,
196 pub fn set_nat_1to1_ips(&mut self, ips: Vec<String>, candidate_type: RTCIceCandidateType) { in set_nat_1to1_ips() argument
H A Dsetting_engine_test.rs62 s.candidates.nat_1to1_ip_candidate_type == RTCIceCandidateType::Unspecified, in test_set_nat_1to1_ips()
67 let typ = RTCIceCandidateType::Host; in test_set_nat_1to1_ips()