Index: webrtc/call/call.cc |
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc |
index e3c6ec7a0ccb5443e69dabb02dcb11f39f2460e0..6d12202a1dc7db45580da57af0c966616ea5d6cd 100644 |
--- a/webrtc/call/call.cc |
+++ b/webrtc/call/call.cc |
@@ -626,9 +626,13 @@ void Call::OnNetworkRouteChanged(const std::string& transport_name, |
kv->second = network_route; |
LOG(LS_INFO) << "Network route changed on transport " << transport_name |
<< ": new local network id " << network_route.local_network_id |
- << " new remote network id " |
- << network_route.remote_network_id; |
- // TODO(holmer): Update the BWE bitrates. |
+ << " new remote network id " << network_route.remote_network_id |
+ << " Reset bitrate to " |
+ << config_.bitrate_config.start_bitrate_bps << "bps"; |
+ congestion_controller_->ResetBweAndBitrates( |
+ config_.bitrate_config.start_bitrate_bps, |
+ config_.bitrate_config.min_bitrate_bps, |
+ config_.bitrate_config.max_bitrate_bps); |
} |
} |