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 24bfd78887d6d9a325aa62a29ce18e8796cd4739..ae11d93fbbfb01ab512c16055bac6626a88397c4 100644 |
--- a/webrtc/modules/congestion_controller/congestion_controller.cc |
+++ b/webrtc/modules/congestion_controller/congestion_controller.cc |
@@ -309,7 +309,7 @@ void CongestionController::SetAllocatedSendBitrateLimits( |
} |
int64_t CongestionController::GetPacerQueuingDelayMs() const { |
- return pacer_->QueueInMs(); |
+ return IsNetworkDown() ? 0 : pacer_->QueueInMs(); |
} |
void CongestionController::SignalNetworkState(NetworkState state) { |