@@ -20,36 +20,38 @@ impl fmt::Display for StateChangeOp {
20
20
}
21
21
}
22
22
23
- /// SignalingState indicates the signaling state of the offer/answer process.
23
+ /// Indicates the signaling state of the offer/answer process.
24
24
#[ derive( Default , Debug , Copy , Clone , PartialEq , Eq ) ]
25
25
pub enum RTCSignalingState {
26
26
#[ default]
27
27
Unspecified = 0 ,
28
28
29
- /// SignalingStateStable indicates there is no offer/answer exchange in
29
+ /// There is no offer/answer exchange in
30
30
/// progress. This is also the initial state, in which case the local and
31
- /// remote descriptions are nil .
31
+ /// remote descriptions aren't set .
32
32
Stable ,
33
33
34
- /// SignalingStateHaveLocalOffer indicates that a local description, of
34
+ /// A local description, of
35
35
/// type "offer", has been successfully applied.
36
36
HaveLocalOffer ,
37
37
38
- /// SignalingStateHaveRemoteOffer indicates that a remote description, of
38
+ /// A remote description, of
39
39
/// type "offer", has been successfully applied.
40
40
HaveRemoteOffer ,
41
41
42
- /// SignalingStateHaveLocalPranswer indicates that a remote description
42
+ /// A remote description
43
43
/// of type "offer" has been successfully applied and a local description
44
44
/// of type "pranswer" has been successfully applied.
45
45
HaveLocalPranswer ,
46
46
47
- /// SignalingStateHaveRemotePranswer indicates that a local description
47
+ /// A local description
48
48
/// of type "offer" has been successfully applied and a remote description
49
49
/// of type "pranswer" has been successfully applied.
50
50
HaveRemotePranswer ,
51
51
52
- /// SignalingStateClosed indicates The PeerConnection has been closed.
52
+ /// The [`RTCPeerConnection`] has been closed.
53
+ ///
54
+ /// [`RTCPeerConnection`]: crate::peer_connection::RTCPeerConnection
53
55
Closed ,
54
56
}
55
57
0 commit comments