Index: webrtc/api/objc/RTCPeerConnection.h |
diff --git a/webrtc/api/objc/RTCPeerConnection.h b/webrtc/api/objc/RTCPeerConnection.h |
index 68db191bff40db6649e7f71f7167b35fc784a97f..2c5c19e00f40336829342583e9c1cdbb975e8a3a 100644 |
--- a/webrtc/api/objc/RTCPeerConnection.h |
+++ b/webrtc/api/objc/RTCPeerConnection.h |
@@ -33,6 +33,7 @@ typedef NS_ENUM(NSInteger, RTCSignalingState) { |
RTCSignalingStateHaveLocalPrAnswer, |
RTCSignalingStateHaveRemoteOffer, |
RTCSignalingStateHaveRemotePrAnswer, |
+ // Not an actual state, represents the total number of states. |
RTCSignalingStateClosed, |
}; |
@@ -45,7 +46,7 @@ typedef NS_ENUM(NSInteger, RTCIceConnectionState) { |
RTCIceConnectionStateFailed, |
RTCIceConnectionStateDisconnected, |
RTCIceConnectionStateClosed, |
- RTCIceConnectionStateMax, |
+ RTCIceConnectionStateCount, |
}; |
/** Represents the ice gathering state of the peer connection. */ |