Index: webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc |
diff --git a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc |
index 7c48c0c60e6a17552f12017f3e197a6b0863d6b9..37fa55a4da1114029abe8868b3b8f97bde1efd93 100644 |
--- a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc |
+++ b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc |
@@ -123,4 +123,9 @@ void AudioEncoderCopyRed::SetTargetBitrate(int bits_per_second) { |
speech_encoder_->SetTargetBitrate(bits_per_second); |
} |
+rtc::ArrayView<std::unique_ptr<AudioEncoder>> |
+AudioEncoderCopyRed::ReclaimContainedEncoders() { |
+ return rtc::ArrayView<std::unique_ptr<AudioEncoder>>(&speech_encoder_, 1); |
+} |
+ |
} // namespace webrtc |