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

Unified Diff: webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m

Issue 1690313002: Update iOS AppRTCDemo to use the updated Objective-C API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update Mac demo and other changes after updating against master Created 4 years, 10 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
Index: webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m
diff --git a/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m b/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m
index d815008caee48037bf55168bff7899196af800f6..576e2cf6f82efd7dd4ebf3100a4d8593a924fd54 100644
--- a/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m
+++ b/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m
@@ -10,9 +10,9 @@
#import "ARDAppDelegate.h"
+#import "webrtc/base/objc/RTCLogging.h"
+#import "webrtc/base/objc/RTCSSLAdapter.h"
#import "webrtc/base/objc/RTCTracing.h"
-#import "RTCLogging.h"
-#import "RTCPeerConnectionFactory.h"
#import "ARDMainViewController.h"
@@ -23,8 +23,8 @@
#pragma mark - UIApplicationDelegate methods
- (BOOL)application:(UIApplication *)application
- didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- [RTCPeerConnectionFactory initializeSSL];
+ didFinishLaunchingWithOptions:(NSDictionary *)base {
tkchin_webrtc 2016/03/08 19:51:22 ?
hjon_webrtc 2016/03/10 03:32:43 Huh. No idea. I noticed that once when updating ag
+ RTCInitializeSSL();
RTCSetupInternalTracer();
_window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
[_window makeKeyAndVisible];
@@ -49,7 +49,7 @@
- (void)applicationWillTerminate:(UIApplication *)application {
RTCShutdownInternalTracer();
- [RTCPeerConnectionFactory deinitializeSSL];
+ RTCCleanupSSL();
}
@end

Powered by Google App Engine
This is Rietveld 408576698