Index: webrtc/modules/audio_coding/codecs/audio_encoder.cc |
diff --git a/webrtc/modules/audio_coding/codecs/audio_encoder.cc b/webrtc/modules/audio_coding/codecs/audio_encoder.cc |
index 1216484b4d189d3dd3b93247019851db3a3f17f5..956c4e086f0dbf244cb348ad93083d19ad252411 100644 |
--- a/webrtc/modules/audio_coding/codecs/audio_encoder.cc |
+++ b/webrtc/modules/audio_coding/codecs/audio_encoder.cc |
@@ -77,9 +77,13 @@ void AudioEncoder::DisableAudioNetworkAdaptor() {} |
void AudioEncoder::OnReceivedUplinkBandwidth(int uplink_bandwidth_bps) {} |
void AudioEncoder::OnReceivedUplinkPacketLossFraction( |
- float uplink_packet_loss_fraction) {} |
+ float uplink_packet_loss_fraction) { |
+ SetProjectedPacketLossRate(uplink_packet_loss_fraction); |
+} |
-void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) {} |
+void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) { |
+ SetTargetBitrate(target_audio_bitrate_bps); |
+} |
void AudioEncoder::OnReceivedRtt(int rtt_ms) {} |