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

Unified Diff: webrtc/api/objc/RTCPeerConnection+Private.h

Issue 1820193002: Refactor some ObjC API init methods. (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/RTCPeerConnectionFactory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCPeerConnection+Private.h
diff --git a/webrtc/api/objc/RTCPeerConnection+Private.h b/webrtc/api/objc/RTCPeerConnection+Private.h
index feac8be6d96a3c485c955d2506766fa1c7baf57d..031631a37a9dbc1772a4f20cca466e8be81e5f82 100644
--- a/webrtc/api/objc/RTCPeerConnection+Private.h
+++ b/webrtc/api/objc/RTCPeerConnection+Private.h
@@ -58,6 +58,19 @@ class PeerConnectionDelegateAdapter : public PeerConnectionObserver {
@property(nonatomic, readonly)
rtc::scoped_refptr<webrtc::PeerConnectionInterface> nativePeerConnection;
+/** Initialize an RTCPeerConnection with a configuration, constraints, and
+ * delegate.
+ */
+- (instancetype)initWithFactory:
+ (RTCPeerConnectionFactory *)factory
+ configuration:
+ (RTCConfiguration *)configuration
+ constraints:
+ (RTCMediaConstraints *)constraints
+ delegate:
+ (nullable id<RTCPeerConnectionDelegate>)delegate
+ NS_DESIGNATED_INITIALIZER;
+
+ (webrtc::PeerConnectionInterface::SignalingState)nativeSignalingStateForState:
(RTCSignalingState)state;
« no previous file with comments | « webrtc/api/objc/RTCPeerConnection.h ('k') | webrtc/api/objc/RTCPeerConnectionFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698