pub enum RTCIceTransportState {
Unspecified,
New,
Checking,
Connected,
Completed,
Failed,
Disconnected,
Closed,
}
Expand description
ICETransportState represents the current state of the ICE transport.
Variants
Unspecified
New
ICETransportStateNew indicates the ICETransport is waiting for remote candidates to be supplied.
Checking
ICETransportStateChecking indicates the ICETransport has received at least one remote candidate, and a local and remote ICECandidateComplete dictionary was not added as the last candidate.
Connected
ICETransportStateConnected indicates the ICETransport has received a response to an outgoing connectivity check, or has received incoming DTLS/media after a successful response to an incoming connectivity check, but is still checking other candidate pairs to see if there is a better connection.
Completed
ICETransportStateCompleted indicates the ICETransport tested all appropriate candidate pairs and at least one functioning candidate pair has been found.
Failed
ICETransportStateFailed indicates the ICETransport the last candidate was added and all appropriate candidate pairs have either failed connectivity checks or have lost consent.
Disconnected
ICETransportStateDisconnected indicates the ICETransport has received at least one local and remote candidate, but the final candidate was received yet and all appropriate candidate pairs thus far have been tested and failed.
Closed
ICETransportStateClosed indicates the ICETransport has shut down and is no longer responding to STUN requests.
Trait Implementations
sourceimpl Clone for RTCIceTransportState
impl Clone for RTCIceTransportState
sourcefn clone(&self) -> RTCIceTransportState
fn clone(&self) -> RTCIceTransportState
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more