Home
last modified time | relevance | path

Searched refs:RTCIceCandidate (Results 1 – 13 of 13) sorted by relevance

/webrtc/webrtc/src/ice_transport/
H A Dice_candidate_pair.rs9 local: RTCIceCandidate,
10 remote: RTCIceCandidate,
26 pub fn new(local: RTCIceCandidate, remote: RTCIceCandidate) -> Self { in new() argument
H A Dice_candidate.rs18 pub struct RTCIceCandidate { struct
35 ) -> Vec<RTCIceCandidate> { in rtc_ice_candidates_from_ice_candidates() argument
39 impl From<&Arc<dyn Candidate + Send + Sync>> for RTCIceCandidate { implementation
49 RTCIceCandidate { in from()
65 impl RTCIceCandidate { implementation
158 impl fmt::Display for RTCIceCandidate { implementation
H A Dmod.rs12 use ice_candidate::RTCIceCandidate;
91 let local = RTCIceCandidate::from(&ice_pair.local); in get_selected_candidate_pair()
92 let remote = RTCIceCandidate::from(&ice_pair.remote); in get_selected_candidate_pair()
132 let local = RTCIceCandidate::from(local); in start()
133 let remote = RTCIceCandidate::from(remote); in start()
265 pub async fn set_remote_candidates(&self, remote_candidates: &[RTCIceCandidate]) -> Result<()> { in set_remote_candidates()
282 remote_candidate: Option<RTCIceCandidate>, in add_remote_candidate() argument
H A Dice_gatherer.rs33 dyn (FnMut(Option<RTCIceCandidate>) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>)
175 f(Some(RTCIceCandidate::from(&cand))).await; in gather()
240 pub async fn get_local_candidates(&self) -> Result<Vec<RTCIceCandidate>> { in get_local_candidates() argument
346 gatherer.on_local_candidate(Box::new(move |c: Option<RTCIceCandidate>| { in test_new_ice_gatherer_success()
388 gatherer.on_local_candidate(Box::new(move |c: Option<RTCIceCandidate>| { in test_ice_gather_mdns_candidate_gathering()
/webrtc/examples/examples/data-channels-flow-control/
H A Ddata-channels-flow-control.rs16 ice_transport::{ice_candidate::RTCIceCandidate, ice_server::RTCIceServer},
171 responder.on_ice_candidate(Box::new(move |candidate: Option<RTCIceCandidate>| { in main()
188 requester.on_ice_candidate(Box::new(move |candidate: Option<RTCIceCandidate>| { in main()
/webrtc/examples/examples/offer-answer/
H A Doffer.rs15 use webrtc::ice_transport::ice_candidate::{RTCIceCandidate, RTCIceCandidateInit};
30 static ref PENDING_CANDIDATES: Arc<Mutex<Vec<RTCIceCandidate>>> = Arc::new(Mutex::new(vec![]));
34 async fn signal_candidate(addr: &str, c: &RTCIceCandidate) -> Result<()> { in signal_candidate()
241 peer_connection.on_ice_candidate(Box::new(move |c: Option<RTCIceCandidate>| { in main()
H A Danswer.rs16 use webrtc::ice_transport::ice_candidate::{RTCIceCandidate, RTCIceCandidateInit};
31 static ref PENDING_CANDIDATES: Arc<Mutex<Vec<RTCIceCandidate>>> = Arc::new(Mutex::new(vec![]));
35 async fn signal_candidate(addr: &str, c: &RTCIceCandidate) -> Result<()> { in signal_candidate()
283 peer_connection.on_ice_candidate(Box::new(move |c: Option<RTCIceCandidate>| { in main()
/webrtc/examples/examples/ortc/
H A Dortc.rs13 use webrtc::ice_transport::ice_candidate::RTCIceCandidate;
138 gatherer.on_local_candidate(Box::new(move |c: Option<RTCIceCandidate>| { in main()
247 ice_candidates: Vec<RTCIceCandidate>, // `json:"iceCandidates"`
/webrtc/webrtc/src/dtls_transport/
H A Ddtls_transport_test.rs5 use crate::ice_transport::ice_candidate::RTCIceCandidate;
51 pc_offer.on_ice_candidate(Box::new(move |candidate: Option<RTCIceCandidate>| { in test_invalid_fingerprint_causes_failed()
/webrtc/webrtc/src/peer_connection/sdp/
H A Dmod.rs7 use crate::ice_transport::ice_candidate::RTCIceCandidate;
254 candidates: &[RTCIceCandidate], in add_candidates_to_media_descriptions() argument
304 candidates: &[RTCIceCandidate], in add_data_media_section() argument
409 candidates: &[RTCIceCandidate], in add_transceiver_sdp() argument
650 candidates: &[RTCIceCandidate], in populate_sdp() argument
783 ) -> Result<(String, String, Vec<RTCIceCandidate>)> { in extract_ice_details() argument
807 let candidate = RTCIceCandidate::from(&c); in extract_ice_details()
/webrtc/webrtc/src/data_channel/
H A Ddata_channel_test.rs16 use crate::ice_transport::ice_candidate::RTCIceCandidate;
1279 ice_candidates: Vec<RTCIceCandidate>, //`json:"iceCandidates"`
1332 .on_local_candidate(Box::new(move |i: Option<RTCIceCandidate>| { in get_signal()
/webrtc/webrtc/src/peer_connection/
H A Dmod.rs29 use crate::ice_transport::ice_candidate::{RTCIceCandidate, RTCIceCandidateInit};
1621 Some(RTCIceCandidate::from(&candidate)) in add_ice_candidate()
/webrtc/webrtc/
H A DCHANGELOG.md98 - `RTCIceCandidate::to_json`;