Index: talk/app/webrtc/objc/public/RTCPeerConnection.h |
diff --git a/talk/app/webrtc/objc/public/RTCPeerConnection.h b/talk/app/webrtc/objc/public/RTCPeerConnection.h |
index 7177fd6c21f2693e06269183b9760f35592c9828..a13ed3ecc366ad33e0dc9882aca8934fadc3cb1d 100644 |
--- a/talk/app/webrtc/objc/public/RTCPeerConnection.h |
+++ b/talk/app/webrtc/objc/public/RTCPeerConnection.h |
@@ -27,6 +27,7 @@ |
#import "RTCPeerConnectionDelegate.h" |
+@class RTCConfiguration; |
@class RTCDataChannel; |
@class RTCDataChannelInit; |
@class RTCICECandidate; |
@@ -97,10 +98,12 @@ |
setRemoteDescriptionWithDelegate:(id<RTCSessionDescriptionDelegate>)delegate |
sessionDescription:(RTCSessionDescription *)sdp; |
-// Restarts or updates the ICE Agent process of gathering local candidates |
-// and pinging remote candidates. |
-- (BOOL)updateICEServers:(NSArray *)servers |
- constraints:(RTCMediaConstraints *)constraints; |
+// 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; |
// Provides a remote candidate to the ICE Agent. |
- (BOOL)addICECandidate:(RTCICECandidate *)candidate; |