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

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

Issue 2749803002: Enable the bayesian bitrate estimator by default. (Closed)
Patch Set: AppRTC fixes. Created 3 years, 8 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
« no previous file with comments | « webrtc/call/rampup_tests.cc ('k') | webrtc/modules/congestion_controller/delay_based_bwe.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2013 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #import "ARDAppDelegate.h" 11 #import "ARDAppDelegate.h"
12 12
13 #import "WebRTC/RTCFieldTrials.h" 13 #import "WebRTC/RTCFieldTrials.h"
14 #import "WebRTC/RTCLogging.h" 14 #import "WebRTC/RTCLogging.h"
15 #import "WebRTC/RTCSSLAdapter.h" 15 #import "WebRTC/RTCSSLAdapter.h"
16 #import "WebRTC/RTCTracing.h" 16 #import "WebRTC/RTCTracing.h"
17 17
18 #import "ARDMainViewController.h" 18 #import "ARDMainViewController.h"
19 19
20 @implementation ARDAppDelegate { 20 @implementation ARDAppDelegate {
21 UIWindow *_window; 21 UIWindow *_window;
22 } 22 }
23 23
24 #pragma mark - UIApplicationDelegate methods 24 #pragma mark - UIApplicationDelegate methods
25 25
26 - (BOOL)application:(UIApplication *)application 26 - (BOOL)application:(UIApplication *)application
27 didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 27 didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
28 NSDictionary *fieldTrials = @{ 28 NSDictionary *fieldTrials = @{
29 kRTCFieldTrialImprovedBitrateEstimateKey: kRTCFieldTrialEnabledValue,
30 kRTCFieldTrialH264HighProfileKey: kRTCFieldTrialEnabledValue, 29 kRTCFieldTrialH264HighProfileKey: kRTCFieldTrialEnabledValue,
31 }; 30 };
32 RTCInitFieldTrialDictionary(fieldTrials); 31 RTCInitFieldTrialDictionary(fieldTrials);
33 RTCInitializeSSL(); 32 RTCInitializeSSL();
34 RTCSetupInternalTracer(); 33 RTCSetupInternalTracer();
35 _window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 34 _window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
36 [_window makeKeyAndVisible]; 35 [_window makeKeyAndVisible];
37 ARDMainViewController *viewController = [[ARDMainViewController alloc] init]; 36 ARDMainViewController *viewController = [[ARDMainViewController alloc] init];
38 37
39 UINavigationController *root = 38 UINavigationController *root =
(...skipping 10 matching lines...) Expand all
50 49
51 return YES; 50 return YES;
52 } 51 }
53 52
54 - (void)applicationWillTerminate:(UIApplication *)application { 53 - (void)applicationWillTerminate:(UIApplication *)application {
55 RTCShutdownInternalTracer(); 54 RTCShutdownInternalTracer();
56 RTCCleanupSSL(); 55 RTCCleanupSSL();
57 } 56 }
58 57
59 @end 58 @end
OLDNEW
« no previous file with comments | « webrtc/call/rampup_tests.cc ('k') | webrtc/modules/congestion_controller/delay_based_bwe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698