Index: webrtc/modules/audio_coding/codecs/audio_encoder.h |
diff --git a/webrtc/modules/audio_coding/codecs/audio_encoder.h b/webrtc/modules/audio_coding/codecs/audio_encoder.h |
index 47152f9eee1ae4f9532186b1ca69f56bcdf36b8f..b58f964f52dc0f7c10c6e727b7c2cc5583218701 100644 |
--- a/webrtc/modules/audio_coding/codecs/audio_encoder.h |
+++ b/webrtc/modules/audio_coding/codecs/audio_encoder.h |
@@ -175,6 +175,12 @@ class AudioEncoder { |
virtual void OnReceivedUplinkPacketLossFraction( |
float uplink_packet_loss_fraction); |
+ // Provides 1st-order-FEC-recoverable uplink packet loss rate to this encoder |
+ // to allow it to adapt. |
+ // |uplink_recoverable_packet_loss_fraction| is in the range [0.0, 1.0]. |
+ virtual void OnReceivedUplinkRecoverablePacketLossFraction( |
+ float uplink_recoverable_packet_loss_fraction); |
+ |
// Provides target audio bitrate to this encoder to allow it to adapt. |
virtual void OnReceivedTargetAudioBitrate(int target_bps); |