| Index: webrtc/modules/bitrate_controller/bitrate_controller_impl.h
|
| diff --git a/webrtc/modules/bitrate_controller/bitrate_controller_impl.h b/webrtc/modules/bitrate_controller/bitrate_controller_impl.h
|
| index a9661212d16f4ec6009e2c36a0274147b1e3ceca..48fb11feee22d72fa4d207e5511e7cc764c111bc 100644
|
| --- a/webrtc/modules/bitrate_controller/bitrate_controller_impl.h
|
| +++ b/webrtc/modules/bitrate_controller/bitrate_controller_impl.h
|
| @@ -50,6 +50,11 @@ class BitrateControllerImpl : public BitrateController {
|
|
|
| void SetEventLog(RtcEventLog* event_log) override;
|
|
|
| + // Returns true if the parameters have changed since the last call.
|
| + bool GetNetworkParameters(uint32_t* bitrate,
|
| + uint8_t* fraction_loss,
|
| + int64_t* rtt) override;
|
| +
|
| int64_t TimeUntilNextProcess() override;
|
| void Process() override;
|
|
|
| @@ -66,18 +71,13 @@ class BitrateControllerImpl : public BitrateController {
|
|
|
| void MaybeTriggerOnNetworkChanged();
|
|
|
| - // Returns true if the parameters have changed since the last call.
|
| - bool GetNetworkParameters(uint32_t* bitrate,
|
| - uint8_t* fraction_loss,
|
| - int64_t* rtt);
|
| -
|
| void OnNetworkChanged(uint32_t bitrate,
|
| uint8_t fraction_loss, // 0 - 255.
|
| int64_t rtt) EXCLUSIVE_LOCKS_REQUIRED(critsect_);
|
|
|
| // Used by process thread.
|
| - Clock* clock_;
|
| - BitrateObserver* observer_;
|
| + Clock* const clock_;
|
| + BitrateObserver* const observer_;
|
| int64_t last_bitrate_update_ms_;
|
|
|
| rtc::CriticalSection critsect_;
|
|
|