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

Side by Side Diff: webrtc/video/screenshare_loopback.cc

Issue 1871543002: Update default parameters in screenshare_loopback test (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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 | « no previous file | no next file » | 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 (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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
(...skipping 23 matching lines...) Expand all
34 DEFINE_int32(fps, 5, "Frames per second."); 34 DEFINE_int32(fps, 5, "Frames per second.");
35 int Fps() { 35 int Fps() {
36 return static_cast<int>(FLAGS_fps); 36 return static_cast<int>(FLAGS_fps);
37 } 37 }
38 38
39 DEFINE_int32(min_bitrate, 50, "Call and stream min bitrate in kbps."); 39 DEFINE_int32(min_bitrate, 50, "Call and stream min bitrate in kbps.");
40 int MinBitrateKbps() { 40 int MinBitrateKbps() {
41 return static_cast<int>(FLAGS_min_bitrate); 41 return static_cast<int>(FLAGS_min_bitrate);
42 } 42 }
43 43
44 DEFINE_int32(start_bitrate, 200, "Call start bitrate in kbps."); 44 DEFINE_int32(start_bitrate,
45 Call::Config::kDefaultStartBitrateBps / 1000,
46 "Call start bitrate in kbps.");
45 int StartBitrateKbps() { 47 int StartBitrateKbps() {
46 return static_cast<int>(FLAGS_start_bitrate); 48 return static_cast<int>(FLAGS_start_bitrate);
47 } 49 }
48 50
49 DEFINE_int32(target_bitrate, 2000, "Stream target bitrate in kbps."); 51 DEFINE_int32(target_bitrate, 200, "Stream target bitrate in kbps.");
50 int TargetBitrateKbps() { 52 int TargetBitrateKbps() {
51 return static_cast<int>(FLAGS_target_bitrate); 53 return static_cast<int>(FLAGS_target_bitrate);
52 } 54 }
53 55
54 DEFINE_int32(max_bitrate, 2000, "Call and stream max bitrate in kbps."); 56 DEFINE_int32(max_bitrate, 2000, "Call and stream max bitrate in kbps.");
55 int MaxBitrateKbps() { 57 int MaxBitrateKbps() {
56 return static_cast<int>(FLAGS_max_bitrate); 58 return static_cast<int>(FLAGS_max_bitrate);
57 } 59 }
58 60
59 DEFINE_int32(num_temporal_layers, 2, "Number of temporal layers to use."); 61 DEFINE_int32(num_temporal_layers, 2, "Number of temporal layers to use.");
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 } // namespace webrtc 257 } // namespace webrtc
256 258
257 int main(int argc, char* argv[]) { 259 int main(int argc, char* argv[]) {
258 ::testing::InitGoogleTest(&argc, argv); 260 ::testing::InitGoogleTest(&argc, argv);
259 google::ParseCommandLineFlags(&argc, &argv, true); 261 google::ParseCommandLineFlags(&argc, &argv, true);
260 webrtc::test::InitFieldTrialsFromString( 262 webrtc::test::InitFieldTrialsFromString(
261 webrtc::flags::FLAGS_force_fieldtrials); 263 webrtc::flags::FLAGS_force_fieldtrials);
262 webrtc::test::RunTest(webrtc::Loopback); 264 webrtc::test::RunTest(webrtc::Loopback);
263 return 0; 265 return 0;
264 } 266 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698