Remove check on last_packet_received_time_ as it's no longer used.
Bug: webrtc:15377 Change-Id: Ia8181ae5d546e6d6c0e97ef1daf5ab90d1b6a0aa Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/321440 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Ying Wang <yinwa@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40807}
This commit is contained in:
parent
9b5d795b01
commit
78c119cbb3
@ -240,7 +240,7 @@ NetworkControlUpdate GoogCcNetworkController::OnProcessInterval(
|
||||
probes.begin(), probes.end());
|
||||
|
||||
if (rate_control_settings_.UseCongestionWindow() &&
|
||||
last_packet_received_time_.IsFinite() && !feedback_max_rtts_.empty()) {
|
||||
!feedback_max_rtts_.empty()) {
|
||||
UpdateCongestionWindowSize();
|
||||
}
|
||||
if (congestion_window_pushback_controller_ && current_data_window_) {
|
||||
@ -306,7 +306,6 @@ NetworkControlUpdate GoogCcNetworkController::OnSentPacket(
|
||||
|
||||
NetworkControlUpdate GoogCcNetworkController::OnReceivedPacket(
|
||||
ReceivedPacket received_packet) {
|
||||
last_packet_received_time_ = received_packet.receive_time;
|
||||
return NetworkControlUpdate();
|
||||
}
|
||||
|
||||
|
||||
@ -133,7 +133,6 @@ class GoogCcNetworkController : public NetworkControllerInterface {
|
||||
|
||||
absl::optional<uint8_t> last_estimated_fraction_loss_ = 0;
|
||||
TimeDelta last_estimated_round_trip_time_ = TimeDelta::PlusInfinity();
|
||||
Timestamp last_packet_received_time_ = Timestamp::MinusInfinity();
|
||||
|
||||
double pacing_factor_;
|
||||
DataRate min_total_allocated_bitrate_;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user