Home
last modified time | relevance | path

Searched refs:endpoints (Results 1 – 4 of 4) sorted by relevance

/webrtc/webrtc/src/mux/
H A Dmod.rs34 endpoints: Arc<Mutex<HashMap<usize, Arc<Endpoint>>>>, field
45 endpoints: Arc::new(Mutex::new(HashMap::new())), in new()
52 let endpoints = Arc::clone(&m.endpoints); in new() localVariable
62 let mut endpoints = self.endpoints.lock().await; in new_endpoint() localVariable
73 endpoints: Arc::clone(&self.endpoints), in new_endpoint()
76 endpoints.insert(e.id, Arc::clone(&e)); in new_endpoint()
83 let mut endpoints = self.endpoints.lock().await; in remove_endpoint() localVariable
84 endpoints.remove(&e.id); in remove_endpoint()
91 let mut endpoints = self.endpoints.lock().await; in close() localVariable
92 endpoints.clear(); in close()
[all …]
H A Dendpoint.rs17 pub(crate) endpoints: Arc<Mutex<HashMap<usize, Arc<Endpoint>>>>, field
25 let mut endpoints = self.endpoints.lock().await; in close() localVariable
26 endpoints.remove(&self.id); in close()
H A Dmux_test.rs37 Mux::dispatch(&[0], &m.endpoints).await?; in test_no_endpoints()
/webrtc/examples/examples/data-channels-flow-control/
H A DREADME.md29 The demo code implements two endpoints (requester and responder) in it.