Searched refs:connection_state (Results 1 – 16 of 16) sorted by relevance
17 for (connection_state, expected_string) in tests { in test_connected_state_string()19 connection_state.to_string(), in test_connected_state_string()
49 pub(crate) connection_state: AtomicU8, //ConnectionState, field120 connection_state: AtomicU8::new(ConnectionState::New as u8), in new()210 if self.connection_state.load(Ordering::SeqCst) == ConnectionState::Failed as u8 { in contact()213 *last_connection_state = self.connection_state.load(Ordering::SeqCst).into(); in contact()216 if self.connection_state.load(Ordering::SeqCst) == ConnectionState::Checking as u8 { in contact()218 if *last_connection_state as u8 != self.connection_state.load(Ordering::SeqCst) { in contact()229 *last_connection_state = self.connection_state.load(Ordering::SeqCst).into(); in contact()236 *last_connection_state = self.connection_state.load(Ordering::SeqCst).into(); in contact()304 if self.connection_state.load(Ordering::SeqCst) != new_state as u8 { in update_connection_state()315 self.connection_state in update_connection_state()
422 if self.internal.connection_state.load(Ordering::SeqCst) != ConnectionState::New as u8 { in restart()
257 move |connection_state: RTCIceConnectionState| { in main()260 if connection_state == RTCIceConnectionState::Connected { in main()262 } else if connection_state == RTCIceConnectionState::Failed { in main()
287 move |connection_state: RTCIceConnectionState| { in main()290 if connection_state == RTCIceConnectionState::Connected { in main()292 } else if connection_state == RTCIceConnectionState::Failed { in main()
129 move |connection_state: RTCIceConnectionState| { in main()131 if connection_state == RTCIceConnectionState::Failed { in main()
200 move |connection_state: RTCIceConnectionState| { in main()202 if connection_state == RTCIceConnectionState::Connected { in main()
251 move |connection_state: RTCIceConnectionState| { in main()253 if connection_state == RTCIceConnectionState::Connected { in main()
292 move |connection_state: RTCIceConnectionState| { in main()294 if connection_state == RTCIceConnectionState::Connected { in main()
303 move |connection_state: RTCIceConnectionState| { in main()305 if connection_state == RTCIceConnectionState::Connected { in main()
196 let conn_state = conn.connection_state().await; in start_srtp()236 let conn_state = conn.connection_state().await; in start_srtp()432 let remote_certs = &dtls_conn.connection_state().await.peer_certificates; in start()
152 if pc.connection_state() != RTCPeerConnectionState::New { in create_peer_connection()155 pc.connection_state() in create_peer_connection()
441 let state = c.connection_state().await; in test_export_keying_material()455 let state = c.connection_state().await; in test_export_keying_material()469 let state = c.connection_state().await; in test_export_keying_material()483 let state = c.connection_state().await; in test_export_keying_material()492 let state = c.connection_state().await; in test_export_keying_material()554 let actual_psk_identity_hint = &server.connection_state().await.identity_hint; in test_psk()1061 let actual_client_cert = &server.connection_state().await.peer_certificates; in test_client_certificate()1084 let actual_server_cert = &client.connection_state().await.peer_certificates; in test_client_certificate()
486 pub async fn connection_state(&self) -> State { in connection_state() method
867 let connection_state = in update_connection_state() localVariable890 if peer_connection_state.load(Ordering::SeqCst) == connection_state as u8 { in update_connection_state()894 log::info!("peer connection state changed: {}", connection_state); in update_connection_state()895 peer_connection_state.store(connection_state as u8, Ordering::SeqCst); in update_connection_state()899 connection_state, in update_connection_state()2024 pub fn connection_state(&self) -> RTCPeerConnectionState { in connection_state() method
113 |connection_state: RTCIceConnectionState| { in do_signaling()