| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 report_blocks.push_back(remb_feedback.report_block()); | 46 report_blocks.push_back(remb_feedback.report_block()); |
| 47 feedback_observer_->OnReceivedRtcpReceiverReport( | 47 feedback_observer_->OnReceivedRtcpReceiverReport( |
| 48 report_blocks, 0, clock_->TimeInMilliseconds()); | 48 report_blocks, 0, clock_->TimeInMilliseconds()); |
| 49 bitrate_controller_->Process(); | 49 bitrate_controller_->Process(); |
| 50 } | 50 } |
| 51 | 51 |
| 52 int64_t RembBweSender::TimeUntilNextProcess() { | 52 int64_t RembBweSender::TimeUntilNextProcess() { |
| 53 return bitrate_controller_->TimeUntilNextProcess(); | 53 return bitrate_controller_->TimeUntilNextProcess(); |
| 54 } | 54 } |
| 55 | 55 |
| 56 int RembBweSender::Process() { | 56 void RembBweSender::Process() { |
| 57 return bitrate_controller_->Process(); | 57 bitrate_controller_->Process(); |
| 58 } | 58 } |
| 59 | 59 |
| 60 int RembBweSender::GetFeedbackIntervalMs() const { | 60 int RembBweSender::GetFeedbackIntervalMs() const { |
| 61 return 100; | 61 return 100; |
| 62 } | 62 } |
| 63 | 63 |
| 64 RembReceiver::RembReceiver(int flow_id, bool plot) | 64 RembReceiver::RembReceiver(int flow_id, bool plot) |
| 65 : BweReceiver(flow_id), | 65 : BweReceiver(flow_id), |
| 66 estimate_log_prefix_(), | 66 estimate_log_prefix_(), |
| 67 plot_estimate_(plot), | 67 plot_estimate_(plot), |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 } | 153 } |
| 154 latest_estimate_bps_ = bps; | 154 latest_estimate_bps_ = bps; |
| 155 } | 155 } |
| 156 *estimate_bps = latest_estimate_bps_; | 156 *estimate_bps = latest_estimate_bps_; |
| 157 return true; | 157 return true; |
| 158 } | 158 } |
| 159 | 159 |
| 160 } // namespace bwe | 160 } // namespace bwe |
| 161 } // namespace testing | 161 } // namespace testing |
| 162 } // namespace webrtc | 162 } // namespace webrtc |
| OLD | NEW |