Index: talk/app/webrtc/objc/RTCPeerConnection.mm |
diff --git a/talk/app/webrtc/objc/RTCPeerConnection.mm b/talk/app/webrtc/objc/RTCPeerConnection.mm |
index 0d30acc0eb23ba6b00c8ea16eacfba8cf7d78fbc..44d39cb0902deede6d7e7ff403289a7ae697e090 100644 |
--- a/talk/app/webrtc/objc/RTCPeerConnection.mm |
+++ b/talk/app/webrtc/objc/RTCPeerConnection.mm |
@@ -208,13 +208,9 @@ class RTCStatsObserver : public StatsObserver { |
self.peerConnection->SetRemoteDescription(observer, sdp.sessionDescription); |
} |
-- (BOOL)updateICEServers:(NSArray*)servers |
- constraints:(RTCMediaConstraints*)constraints { |
- webrtc::PeerConnectionInterface::IceServers iceServers; |
- for (RTCICEServer* server in servers) { |
- iceServers.push_back(server.iceServer); |
- } |
- return self.peerConnection->UpdateIce(iceServers, constraints.constraints); |
+- (BOOL)setConfiguration:(RTCConfiguration *)configuration { |
+ return self.peerConnection->SetConfiguration( |
+ configuration.nativeConfiguration); |
} |
- (RTCSessionDescription*)localDescription { |