| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 virtual void OnReceivedPacket(int64_t arrival_time_ms, | 40 virtual void OnReceivedPacket(int64_t arrival_time_ms, |
| 41 size_t payload_size, | 41 size_t payload_size, |
| 42 const RTPHeader& header); | 42 const RTPHeader& header); |
| 43 | 43 |
| 44 // TODO(nisse): Delete these methods, design a more specific interface. | 44 // TODO(nisse): Delete these methods, design a more specific interface. |
| 45 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator(bool send_side_bwe); | 45 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator(bool send_side_bwe); |
| 46 virtual const RemoteBitrateEstimator* GetRemoteBitrateEstimator( | 46 virtual const RemoteBitrateEstimator* GetRemoteBitrateEstimator( |
| 47 bool send_side_bwe) const; | 47 bool send_side_bwe) const; |
| 48 | 48 |
| 49 // TODO(nisse): Called by CongestionController, but not otherwise wired up. | |
| 50 // Implements CallStatsObserver. | 49 // Implements CallStatsObserver. |
| 51 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; | 50 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; |
| 52 | 51 |
| 53 // This is send bitrate, used to control the rate of feedback messages. | 52 // This is send bitrate, used to control the rate of feedback messages. |
| 54 void OnBitrateChanged(int bitrate_bps); | 53 void OnBitrateChanged(int bitrate_bps); |
| 55 | 54 |
| 56 // Implements Module. | 55 // Implements Module. |
| 57 int64_t TimeUntilNextProcess() override; | 56 int64_t TimeUntilNextProcess() override; |
| 58 void Process() override; | 57 void Process() override; |
| 59 | 58 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WrappingBitrateEstimator); | 96 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WrappingBitrateEstimator); |
| 98 }; | 97 }; |
| 99 | 98 |
| 100 WrappingBitrateEstimator remote_bitrate_estimator_; | 99 WrappingBitrateEstimator remote_bitrate_estimator_; |
| 101 RemoteEstimatorProxy remote_estimator_proxy_; | 100 RemoteEstimatorProxy remote_estimator_proxy_; |
| 102 }; | 101 }; |
| 103 | 102 |
| 104 } // namespace webrtc | 103 } // namespace webrtc |
| 105 | 104 |
| 106 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_RECEIVE_SIDE_CONGESTION_
CONTROLLER_H_ | 105 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_RECEIVE_SIDE_CONGESTION_
CONTROLLER_H_ |
| OLD | NEW |