Index: webrtc/api/objc/RTCPeerConnection.mm |
diff --git a/webrtc/api/objc/RTCPeerConnection.mm b/webrtc/api/objc/RTCPeerConnection.mm |
index 35ac07aeb78582e7f27102429ca690334b153533..20a893948e90492a5c2561a830006d4826b0127a 100644 |
--- a/webrtc/api/objc/RTCPeerConnection.mm |
+++ b/webrtc/api/objc/RTCPeerConnection.mm |
@@ -248,6 +248,10 @@ void PeerConnectionDelegateAdapter::OnIceCandidate( |
_peerConnection->ice_gathering_state()]; |
} |
+- (BOOL)setConfiguration:(RTCConfiguration *)configuration { |
+ return _peerConnection->SetConfiguration(configuration.nativeConfiguration); |
+} |
+ |
- (void)close { |
_peerConnection->Close(); |
} |