Index: webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
diff --git a/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc b/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
index bac963f4e8e2de9ff047ac78d889e9b187c6469e..103ec9b33f4188dc242f00d73d5e8600933b1b05 100644 |
--- a/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
+++ b/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
@@ -304,6 +304,15 @@ void AudioEncoderOpus::OnReceivedUplinkPacketLossFraction( |
ApplyAudioNetworkAdaptor(); |
} |
+void AudioEncoderOpus::OnReceivedUplinkRecoverablePacketLossFraction( |
+ float uplink_recoverable_packet_loss_fraction) { |
+ if (!audio_network_adaptor_) |
+ return; |
+ audio_network_adaptor_->SetUplinkRecoverablePacketLossFraction( |
+ uplink_recoverable_packet_loss_fraction); |
+ ApplyAudioNetworkAdaptor(); |
+} |
+ |
void AudioEncoderOpus::OnReceivedUplinkBandwidth( |
int target_audio_bitrate_bps, |
rtc::Optional<int64_t> probing_interval_ms) { |