OLD | NEW |
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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 LossAccount LinkedSetPacketLossRatio(); | 169 LossAccount LinkedSetPacketLossRatio(); |
170 | 170 |
171 // Used for calculating global packet loss ratio. | 171 // Used for calculating global packet loss ratio. |
172 LossAccount loss_account_; | 172 LossAccount loss_account_; |
173 }; | 173 }; |
174 | 174 |
175 enum BandwidthEstimatorType { | 175 enum BandwidthEstimatorType { |
176 kNullEstimator, | 176 kNullEstimator, |
177 kNadaEstimator, | 177 kNadaEstimator, |
178 kRembEstimator, | 178 kRembEstimator, |
179 kFullSendSideEstimator, | 179 kAbsSendTimeEstimator, |
| 180 kSendSideEstimator, |
180 kTcpEstimator | 181 kTcpEstimator |
181 }; | 182 }; |
182 | 183 |
183 const std::string bwe_names[] = {"Null", "NADA", "REMB", "GCC", "TCP"}; | 184 const std::string bwe_names[] = { |
| 185 "Null", "NADA", "REMB", "GCC(abs-send-time)", "GCC(send-side)", "TCP"}; |
184 | 186 |
185 int64_t GetAbsSendTimeInMs(uint32_t abs_send_time); | 187 int64_t GetAbsSendTimeInMs(uint32_t abs_send_time); |
186 | 188 |
187 BweSender* CreateBweSender(BandwidthEstimatorType estimator, | 189 BweSender* CreateBweSender(BandwidthEstimatorType estimator, |
188 int kbps, | 190 int kbps, |
189 BitrateObserver* observer, | 191 BitrateObserver* observer, |
190 Clock* clock); | 192 Clock* clock); |
191 | 193 |
192 BweReceiver* CreateBweReceiver(BandwidthEstimatorType type, | 194 BweReceiver* CreateBweReceiver(BandwidthEstimatorType type, |
193 int flow_id, | 195 int flow_id, |
194 bool plot); | 196 bool plot); |
195 } // namespace bwe | 197 } // namespace bwe |
196 } // namespace testing | 198 } // namespace testing |
197 } // namespace webrtc | 199 } // namespace webrtc |
198 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_H_ | 200 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_H_ |
OLD | NEW |