Index: webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc |
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc b/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc |
index d21e8bef52cdf3bbc7f13e4abc0dced0dc61ff57..a51c277b665222934bbe24a50aaec04ae522706c 100644 |
--- a/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc |
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_rplr_based.cc |
@@ -68,8 +68,8 @@ bool FecControllerRplrBased::FecDisablingDecision() const { |
if (!uplink_bandwidth_bps_ || !uplink_recoverable_packet_loss_) { |
return false; |
} else { |
- // Disable when below the curve or exactly on it. |
- return !config_.fec_disabling_threshold.IsAboveCurve( |
+ // Disable when below the curve. |
+ return config_.fec_disabling_threshold.IsBelowCurve( |
{static_cast<float>(*uplink_bandwidth_bps_), |
*uplink_recoverable_packet_loss_}); |
} |