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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/tools/bwe_rtp.cc

Issue 2886713002: Tracking rbe tools with a GN target (Closed)
Patch Set: Avoiding to build bwe_rtp_play and rtp_to_text Created 3 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
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/BUILD.gn ('k') | 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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 char** argv, 72 char** argv,
73 webrtc::Clock* clock, 73 webrtc::Clock* clock,
74 webrtc::RemoteBitrateObserver* observer, 74 webrtc::RemoteBitrateObserver* observer,
75 webrtc::test::RtpFileReader** rtp_reader, 75 webrtc::test::RtpFileReader** rtp_reader,
76 webrtc::RtpHeaderParser** parser, 76 webrtc::RtpHeaderParser** parser,
77 webrtc::RemoteBitrateEstimator** estimator, 77 webrtc::RemoteBitrateEstimator** estimator,
78 std::string* estimator_used) { 78 std::string* estimator_used) {
79 if (rtc::FlagList::SetFlagsFromCommandLine(&argc, argv, true)) { 79 if (rtc::FlagList::SetFlagsFromCommandLine(&argc, argv, true)) {
80 return 1; 80 return 1;
81 } 81 }
82 if (FLAG_help) { 82 if (flags::FLAG_help) {
83 rtc::FlagList::Print(nullptr, false); 83 rtc::FlagList::Print(nullptr, false);
84 return 0; 84 return 0;
85 } 85 }
86 std::string filename = flags::InputFile(); 86 std::string filename = flags::InputFile();
87 87
88 std::set<uint32_t> ssrc_filter = flags::SsrcFilter(); 88 std::set<uint32_t> ssrc_filter = flags::SsrcFilter();
89 fprintf(stderr, "Filter on SSRC: "); 89 fprintf(stderr, "Filter on SSRC: ");
90 for (auto& s : ssrc_filter) { 90 for (auto& s : ssrc_filter) {
91 fprintf(stderr, "0x%08x, ", s); 91 fprintf(stderr, "0x%08x, ", s);
92 } 92 }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 new webrtc::RemoteBitrateEstimatorSingleStream(observer, clock); 134 new webrtc::RemoteBitrateEstimatorSingleStream(observer, clock);
135 *estimator_used = "RemoteBitrateEstimator"; 135 *estimator_used = "RemoteBitrateEstimator";
136 break; 136 break;
137 } 137 }
138 default: 138 default:
139 assert(false); 139 assert(false);
140 } 140 }
141 } 141 }
142 return true; 142 return true;
143 } 143 }
OLDNEW
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698