@@ -20,36 +20,38 @@ impl fmt::Display for StateChangeOp {
2020 }
2121}
2222
23- /// SignalingState indicates the signaling state of the offer/answer process.
23+ /// Indicates the signaling state of the offer/answer process.
2424#[ derive( Default , Debug , Copy , Clone , PartialEq , Eq ) ]
2525pub enum RTCSignalingState {
2626 #[ default]
2727 Unspecified = 0 ,
2828
29- /// SignalingStateStable indicates there is no offer/answer exchange in
29+ /// There is no offer/answer exchange in
3030 /// progress. This is also the initial state, in which case the local and
31- /// remote descriptions are nil .
31+ /// remote descriptions aren't set .
3232 Stable ,
3333
34- /// SignalingStateHaveLocalOffer indicates that a local description, of
34+ /// A local description, of
3535 /// type "offer", has been successfully applied.
3636 HaveLocalOffer ,
3737
38- /// SignalingStateHaveRemoteOffer indicates that a remote description, of
38+ /// A remote description, of
3939 /// type "offer", has been successfully applied.
4040 HaveRemoteOffer ,
4141
42- /// SignalingStateHaveLocalPranswer indicates that a remote description
42+ /// A remote description
4343 /// of type "offer" has been successfully applied and a local description
4444 /// of type "pranswer" has been successfully applied.
4545 HaveLocalPranswer ,
4646
47- /// SignalingStateHaveRemotePranswer indicates that a local description
47+ /// A local description
4848 /// of type "offer" has been successfully applied and a remote description
4949 /// of type "pranswer" has been successfully applied.
5050 HaveRemotePranswer ,
5151
52- /// SignalingStateClosed indicates The PeerConnection has been closed.
52+ /// The [`RTCPeerConnection`] has been closed.
53+ ///
54+ /// [`RTCPeerConnection`]: crate::peer_connection::RTCPeerConnection
5355 Closed ,
5456}
5557
0 commit comments