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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/test/estimators/remb.h

Issue 2223033002: Fix issue where the number of packets reported in tests/simulations sometimes are negative. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 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
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 static RTCPReportBlock BuildReportBlock(StreamStatistician* statistician); 69 static RTCPReportBlock BuildReportBlock(StreamStatistician* statistician);
70 bool LatestEstimate(uint32_t* estimate_bps); 70 bool LatestEstimate(uint32_t* estimate_bps);
71 71
72 std::string estimate_log_prefix_; 72 std::string estimate_log_prefix_;
73 bool plot_estimate_; 73 bool plot_estimate_;
74 SimulatedClock clock_; 74 SimulatedClock clock_;
75 std::unique_ptr<ReceiveStatistics> recv_stats_; 75 std::unique_ptr<ReceiveStatistics> recv_stats_;
76 int64_t latest_estimate_bps_; 76 int64_t latest_estimate_bps_;
77 int64_t last_feedback_ms_; 77 int64_t last_feedback_ms_;
78 std::unique_ptr<RemoteBitrateEstimator> estimator_; 78 std::unique_ptr<RemoteBitrateEstimator> estimator_;
79 RTCPReportBlock latest_report_block_;
79 80
80 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RembReceiver); 81 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RembReceiver);
81 }; 82 };
82 83
83 } // namespace bwe 84 } // namespace bwe
84 } // namespace testing 85 } // namespace testing
85 } // namespace webrtc 86 } // namespace webrtc
86 87
87 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_REMB_H_ 88 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_REMB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698