Index: webrtc/api/objc/RTCPeerConnection.h |
diff --git a/webrtc/api/objc/RTCPeerConnection.h b/webrtc/api/objc/RTCPeerConnection.h |
index 80e8bf3d702de3419e84765e9be8690f13ab1cf8..68db191bff40db6649e7f71f7167b35fc784a97f 100644 |
--- a/webrtc/api/objc/RTCPeerConnection.h |
+++ b/webrtc/api/objc/RTCPeerConnection.h |
@@ -129,6 +129,14 @@ typedef NS_ENUM(NSInteger, RTCStatsOutputLevel) { |
(nullable id<RTCPeerConnectionDelegate>)delegate |
NS_DESIGNATED_INITIALIZER; |
+/** Sets the PeerConnection's global configuration to |configuration|. |
+ * Any changes to STUN/TURN servers or ICE candidate policy will affect the |
+ * next gathering phase, and cause the next call to createOffer to generate |
+ * new ICE credentials. Note that the BUNDLE and RTCP-multiplexing policies |
+ * cannot be changed with this method. |
+ */ |
+- (BOOL)setConfiguration:(RTCConfiguration *)configuration; |
+ |
/** Terminate all media and close the transport. */ |
- (void)close; |