Reland "Renaming AudioEncoder::SetTargetBitrate and SetProjectedPacketLossRate."

The earlier attempt of this was in
https://codereview.webrtc.org/2411613002/

It was reverted due to failures on internal bots, showing that we cannot deprecate one method.

BUG=webrtc:6303

Review-Url: https://codereview.webrtc.org/2538493006
Cr-Commit-Position: refs/heads/master@{#15333}
This commit is contained in:
minyue
2016-11-30 06:49:59 -08:00
committed by Commit bot
parent 26bddb92f0
commit 4b9a2cb0d8
14 changed files with 137 additions and 131 deletions

View File

@ -469,7 +469,7 @@ TEST_F(AudioDecoderPcmUTest, EncodeDecode) {
namespace {
int SetAndGetTargetBitrate(AudioEncoder* audio_encoder, int rate) {
audio_encoder->SetTargetBitrate(rate);
audio_encoder->OnReceivedTargetAudioBitrate(rate);
return audio_encoder->GetTargetBitrate();
}
void TestSetAndGetTargetBitratesWithFixedCodec(AudioEncoder* audio_encoder,