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