| Index: webrtc/modules/congestion_controller/congestion_controller.cc
|
| diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc
|
| index d42ad4acc513b702499ff5087a4cbba13712fbcf..7582258185e4ab4b70c87720a9bc3ef702716afa 100644
|
| --- a/webrtc/modules/congestion_controller/congestion_controller.cc
|
| +++ b/webrtc/modules/congestion_controller/congestion_controller.cc
|
| @@ -277,6 +277,8 @@ int64_t CongestionController::GetPacerQueuingDelayMs() const {
|
| }
|
|
|
| void CongestionController::SignalNetworkState(NetworkState state) {
|
| + LOG(LS_INFO) << "SignalNetworkState "
|
| + << (state == kNetworkUp ? "Up" : "Down");
|
| if (state == kNetworkUp) {
|
| pacer_->Resume();
|
| } else {
|
| @@ -340,6 +342,10 @@ bool CongestionController::HasNetworkParametersToReportChanged(
|
| last_reported_bitrate_bps_ != bitrate_bps ||
|
| (bitrate_bps > 0 && (last_reported_fraction_loss_ != fraction_loss ||
|
| last_reported_rtt_ != rtt));
|
| + if (changed && (last_reported_bitrate_bps_ == 0 || bitrate_bps == 0)) {
|
| + LOG(LS_INFO) << "Bitrate estimate state changed, BWE: " << bitrate_bps
|
| + << " bps.";
|
| + }
|
| last_reported_bitrate_bps_ = bitrate_bps;
|
| last_reported_fraction_loss_ = fraction_loss;
|
| last_reported_rtt_ = rtt;
|
|
|