Index: webrtc/voice_engine/channel.cc |
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc |
index 7e49e321cfc2affe6041f05a2c446d7d2fbdf7c3..d2b30ca8f7d41c07b7ea406e6f26a84d59699ca5 100644 |
--- a/webrtc/voice_engine/channel.cc |
+++ b/webrtc/voice_engine/channel.cc |
@@ -1314,6 +1314,16 @@ void Channel::OnTwccBasedUplinkPacketLossRate(float packet_loss_rate) { |
}); |
} |
+void Channel::OnRecoverableUplinkPacketLossRate( |
+ float recoverable_packet_loss_rate) { |
+ audio_coding_->ModifyEncoder([&](std::unique_ptr<AudioEncoder>* encoder) { |
+ if (*encoder) { |
+ (*encoder)->OnReceivedUplinkRecoverablePacketLossFraction( |
+ recoverable_packet_loss_rate); |
+ } |
+ }); |
+} |
+ |
void Channel::OnUplinkPacketLossRate(float packet_loss_rate) { |
if (use_twcc_plr_for_ana_) |
return; |