Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: webrtc/modules/audio_coding/test/PacketLossTest.cc

Issue 2411613002: Renaming AudioEncoder::SetTargetBitrate and SetProjectedPacketLossRate. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698