| 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..f0b2a04b5f32283610ee0997c497ae234a24c614 100644
|
| --- a/webrtc/examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m
|
| +++ b/webrtc/examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m
|
| @@ -14,8 +14,9 @@
|
|
|
| #import "APPRTCAppDelegate.h"
|
|
|
| +#import "webrtc/base/objc/RTCSSLAdapter.h"
|
| +
|
| #import "APPRTCViewController.h"
|
| -#import "RTCPeerConnectionFactory.h"
|
|
|
| @interface APPRTCAppDelegate () <NSWindowDelegate>
|
| @end
|
| @@ -28,7 +29,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 +53,7 @@
|
|
|
| - (void)windowWillClose:(NSNotification*)notification {
|
| [_viewController windowWillClose:notification];
|
| - [RTCPeerConnectionFactory deinitializeSSL];
|
| + RTCCleanupSSL();
|
| [NSApp terminate:self];
|
| }
|
|
|
|
|