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

Unified Diff: webrtc/modules/audio_coding/test/TestRedFec.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/TestRedFec.cc
diff --git a/webrtc/modules/audio_coding/test/TestRedFec.cc b/webrtc/modules/audio_coding/test/TestRedFec.cc
index 2d61fb25f0fe21cca779c9bb6f375b6d3db783b4..847bcae1671bacdecc588d91f276b75fcaac3929 100644
--- a/webrtc/modules/audio_coding/test/TestRedFec.cc
+++ b/webrtc/modules/audio_coding/test/TestRedFec.cc
@@ -343,7 +343,7 @@ void TestRedFec::Perform() {
// _channelA2B imposes 25% packet loss rate.
_acmA->ModifyEncoder([&](std::unique_ptr<AudioEncoder>* encoder) {
EXPECT_TRUE(*encoder);
- (*encoder)->SetProjectedPacketLossRate(25.0f / 100.0f);
+ (*encoder)->OnReceivedUplinkPacketLossFraction(25.0f / 100.0f);
});
#ifdef SUPPORT_RED_FB

Powered by Google App Engine
This is Rietveld 408576698