| 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 |
| 11 #ifndef WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_RECEIVE_SIDE_CONGESTION_CON
TROLLER_H_ | 11 #ifndef WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_RECEIVE_SIDE_CONGESTION_CON
TROLLER_H_ |
| 12 #define WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_RECEIVE_SIDE_CONGESTION_CON
TROLLER_H_ | 12 #define WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_RECEIVE_SIDE_CONGESTION_CON
TROLLER_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/base/constructormagic.h" | |
| 18 #include "webrtc/base/criticalsection.h" | |
| 19 #include "webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h" | 17 #include "webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.h" |
| 18 #include "webrtc/rtc_base/constructormagic.h" |
| 19 #include "webrtc/rtc_base/criticalsection.h" |
| 20 | 20 |
| 21 namespace webrtc { | 21 namespace webrtc { |
| 22 class RemoteBitrateEstimator; | 22 class RemoteBitrateEstimator; |
| 23 class RemoteBitrateObserver; | 23 class RemoteBitrateObserver; |
| 24 | 24 |
| 25 // This class represents the congestion control state for receive | 25 // This class represents the congestion control state for receive |
| 26 // streams. For send side bandwidth estimation, this is simply | 26 // streams. For send side bandwidth estimation, this is simply |
| 27 // relaying for each received RTP packet back to the sender. While for | 27 // relaying for each received RTP packet back to the sender. While for |
| 28 // receive side bandwidth estimation, we do the estimation locally and | 28 // receive side bandwidth estimation, we do the estimation locally and |
| 29 // send our results back to the sender. | 29 // send our results back to the sender. |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WrappingBitrateEstimator); | 95 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WrappingBitrateEstimator); |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 WrappingBitrateEstimator remote_bitrate_estimator_; | 98 WrappingBitrateEstimator remote_bitrate_estimator_; |
| 99 RemoteEstimatorProxy remote_estimator_proxy_; | 99 RemoteEstimatorProxy remote_estimator_proxy_; |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace webrtc | 102 } // namespace webrtc |
| 103 | 103 |
| 104 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_RECEIVE_SIDE_CONGESTION_
CONTROLLER_H_ | 104 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_RECEIVE_SIDE_CONGESTION_
CONTROLLER_H_ |
| OLD | NEW |