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

Side by Side Diff: webrtc/examples/objc/AppRTCMobile/ios/ARDAppDelegate.m

Issue 2358133003: Revert of Rename AppRTCDemo on Android and iOS to AppRTCMobile (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright 2013 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #import "ARDAppDelegate.h"
12
13 #import "WebRTC/RTCFieldTrials.h"
14 #import "WebRTC/RTCLogging.h"
15 #import "WebRTC/RTCSSLAdapter.h"
16 #import "WebRTC/RTCTracing.h"
17
18 #import "ARDMainViewController.h"
19
20 @implementation ARDAppDelegate {
21 UIWindow *_window;
22 }
23
24 #pragma mark - UIApplicationDelegate methods
25
26 - (BOOL)application:(UIApplication *)application
27 didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
28 RTCInitFieldTrials(RTCFieldTrialOptionsSendSideBwe);
29 RTCInitializeSSL();
30 RTCSetupInternalTracer();
31 _window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
32 [_window makeKeyAndVisible];
33 ARDMainViewController *viewController = [[ARDMainViewController alloc] init];
34 _window.rootViewController = viewController;
35
36 #if defined(NDEBUG)
37 // In debug builds the default level is LS_INFO and in non-debug builds it is
38 // disabled. Continue to log to console in non-debug builds, but only
39 // warnings and errors.
40 RTCSetMinDebugLogLevel(RTCLoggingSeverityWarning);
41 #endif
42
43 return YES;
44 }
45
46 - (void)applicationWillTerminate:(UIApplication *)application {
47 RTCShutdownInternalTracer();
48 RTCCleanupSSL();
49 }
50
51 @end
OLDNEW
« no previous file with comments | « webrtc/examples/objc/AppRTCMobile/ios/ARDAppDelegate.h ('k') | webrtc/examples/objc/AppRTCMobile/ios/ARDMainView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698