Index: webrtc/examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m |
diff --git a/webrtc/examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m b/webrtc/examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m |
index 16ccfc355d9161c4202a1cd491ba7982c09478f1..4b5fb09806f139666f81479430b6274adfb41c99 100644 |
--- a/webrtc/examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m |
+++ b/webrtc/examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m |
@@ -15,7 +15,7 @@ |
#import "APPRTCAppDelegate.h" |
#import "APPRTCViewController.h" |
-#import "RTCPeerConnectionFactory.h" |
+#import "webrtc/base/objc/RTCSSLAdapter.h" |
tkchin_webrtc
2016/03/08 19:51:22
style is
#import "ARDFileHeader.h" -> File header
hjon_webrtc
2016/03/10 03:32:43
Done.
|
@interface APPRTCAppDelegate () <NSWindowDelegate> |
@end |
@@ -28,7 +28,7 @@ |
#pragma mark - NSApplicationDelegate |
- (void)applicationDidFinishLaunching:(NSNotification*)notification { |
- [RTCPeerConnectionFactory initializeSSL]; |
+ RTCInitializeSSL(); |
NSScreen* screen = [NSScreen mainScreen]; |
NSRect visibleRect = [screen visibleFrame]; |
NSRect windowRect = NSMakeRect(NSMidX(visibleRect), |
@@ -52,7 +52,7 @@ |
- (void)windowWillClose:(NSNotification*)notification { |
[_viewController windowWillClose:notification]; |
- [RTCPeerConnectionFactory deinitializeSSL]; |
+ RTCCleanupSSL(); |
[NSApp terminate:self]; |
} |