Index: webrtc/modules/audio_coding/test/PacketLossTest.cc |
diff --git a/webrtc/modules/audio_coding/test/PacketLossTest.cc b/webrtc/modules/audio_coding/test/PacketLossTest.cc |
index ae489552aefdea7b213e12f381031107a5a0973c..53f0fbf1220356d35b0468d0f42c478f1ccff201 100644 |
--- a/webrtc/modules/audio_coding/test/PacketLossTest.cc |
+++ b/webrtc/modules/audio_coding/test/PacketLossTest.cc |
@@ -109,7 +109,7 @@ bool SenderWithFEC::SetPacketLossRate(int expected_loss_rate) { |
// There is no existing encoder. |
return; |
} |
- (*encoder)->SetProjectedPacketLossRate(expected_loss_rate / 100.0f); |
+ (*encoder)->OnReceivedUplinkPacketLossFraction(expected_loss_rate / 100.0f); |
success = true; |
}); |
return success; |