Home
last modified time | relevance | path

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

/webrtc/webrtc/src/ice_transport/
H A Dice_gatherer_state.rs5 pub enum RTCIceGathererState { enum
30 impl From<&str> for RTCIceGathererState { implementation
42 impl From<u8> for RTCIceGathererState { implementation
45 1 => RTCIceGathererState::New, in from()
46 2 => RTCIceGathererState::Gathering, in from()
47 3 => RTCIceGathererState::Complete, in from()
48 4 => RTCIceGathererState::Closed, in from()
54 impl fmt::Display for RTCIceGathererState { implementation
59 RTCIceGathererState::Complete => { in fmt()
62 RTCIceGathererState::Closed => { in fmt()
[all …]
H A Dice_gatherer.rs5 use crate::ice_transport::ice_gatherer_state::RTCIceGathererState;
39 dyn (FnMut(RTCIceGathererState) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>>)
77 state: Arc::new(AtomicU8::new(RTCIceGathererState::New as u8)), in new()
89 if agent.is_some() || self.state() != RTCIceGathererState::New { in create_agent()
155 self.set_state(RTCIceGathererState::Gathering).await; in gather()
179 .store(RTCIceGathererState::Complete as u8, Ordering::SeqCst); in gather()
183 f(RTCIceGathererState::Complete).await; in gather()
208 self.set_state(RTCIceGathererState::Closed).await; in close()
272 pub fn state(&self) -> RTCIceGathererState { in state() argument
276 pub async fn set_state(&self, s: RTCIceGathererState) { in set_state() argument
[all …]
/webrtc/webrtc/src/peer_connection/
H A Dpeer_connection_internal.rs832 RTCIceGathererState::New => RTCIceGatheringState::New, in ice_gathering_state()
833 RTCIceGathererState::Gathering => RTCIceGatheringState::Gathering, in ice_gathering_state()
H A Dmod.rs36 use crate::ice_transport::ice_gatherer_state::RTCIceGathererState;
1281 if self.internal.ice_gatherer.state() == RTCIceGathererState::New { in set_local_description()