Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 117 Clock* const clock_; | 117 Clock* const clock_; |
| 118 Observer* const observer_; | 118 Observer* const observer_; |
| 119 const std::unique_ptr<PacketRouter> packet_router_; | 119 const std::unique_ptr<PacketRouter> packet_router_; |
| 120 const std::unique_ptr<PacedSender> pacer_; | 120 const std::unique_ptr<PacedSender> pacer_; |
| 121 const std::unique_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_; | 121 const std::unique_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_; |
| 122 const std::unique_ptr<BitrateController> bitrate_controller_; | 122 const std::unique_ptr<BitrateController> bitrate_controller_; |
| 123 const std::unique_ptr<RateLimiter> retransmission_rate_limiter_; | 123 const std::unique_ptr<RateLimiter> retransmission_rate_limiter_; |
| 124 RemoteEstimatorProxy remote_estimator_proxy_; | 124 RemoteEstimatorProxy remote_estimator_proxy_; |
| 125 TransportFeedbackAdapter transport_feedback_adapter_; | 125 TransportFeedbackAdapter transport_feedback_adapter_; |
| 126 int min_bitrate_bps_; | 126 int min_bitrate_bps_; |
| 127 int max_bitrate_bps_; | |
| 127 rtc::CriticalSection critsect_; | 128 rtc::CriticalSection critsect_; |
| 128 uint32_t last_reported_bitrate_bps_ GUARDED_BY(critsect_); | 129 uint32_t last_reported_bitrate_bps_ GUARDED_BY(critsect_); |
|
stefan-webrtc
2016/08/16 11:48:39
Make this int to avoid cast?
philipel
2016/08/16 13:04:31
If I change it I have to cast at line 367 in the .
stefan-webrtc
2016/08/16 13:28:29
Acknowledged.
| |
| 129 uint8_t last_reported_fraction_loss_ GUARDED_BY(critsect_); | 130 uint8_t last_reported_fraction_loss_ GUARDED_BY(critsect_); |
| 130 int64_t last_reported_rtt_ GUARDED_BY(critsect_); | 131 int64_t last_reported_rtt_ GUARDED_BY(critsect_); |
| 131 NetworkState network_state_ GUARDED_BY(critsect_); | 132 NetworkState network_state_ GUARDED_BY(critsect_); |
| 132 | 133 |
| 133 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); | 134 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); |
| 134 }; | 135 }; |
| 135 | 136 |
| 136 } // namespace webrtc | 137 } // namespace webrtc |
| 137 | 138 |
| 138 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ | 139 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ |
| OLD | NEW |