Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: webrtc/api/objc/RTCPeerConnection.mm

Issue 1778033002: Minor ObjC API tweaks. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/objc/RTCPeerConnection.h ('k') | webrtc/api/objc/RTCStatsReport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « webrtc/api/objc/RTCPeerConnection.h ('k') | webrtc/api/objc/RTCStatsReport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698