pub enum RTCSignalingState {
Unspecified,
Stable,
HaveLocalOffer,
HaveRemoteOffer,
HaveLocalPranswer,
HaveRemotePranswer,
Closed,
}
Expand description
SignalingState indicates the signaling state of the offer/answer process.
Variants
Unspecified
Stable
SignalingStateStable indicates there is no offer/answer exchange in progress. This is also the initial state, in which case the local and remote descriptions are nil.
HaveLocalOffer
SignalingStateHaveLocalOffer indicates that a local description, of type “offer”, has been successfully applied.
HaveRemoteOffer
SignalingStateHaveRemoteOffer indicates that a remote description, of type “offer”, has been successfully applied.
HaveLocalPranswer
SignalingStateHaveLocalPranswer indicates that a remote description of type “offer” has been successfully applied and a local description of type “pranswer” has been successfully applied.
HaveRemotePranswer
SignalingStateHaveRemotePranswer indicates that a local description of type “offer” has been successfully applied and a remote description of type “pranswer” has been successfully applied.
Closed
SignalingStateClosed indicates The PeerConnection has been closed.
Trait Implementations
sourceimpl Clone for RTCSignalingState
impl Clone for RTCSignalingState
sourcefn clone(&self) -> RTCSignalingState
fn clone(&self) -> RTCSignalingState
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more