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 328698380a3a102938a1fcc7a923680687e6d41b..88e084fe1d547e5ac1cfca95e46e363c982a25b6 100644 |
--- a/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
+++ b/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc |
@@ -129,6 +129,10 @@ int AudioEncoderOpus::Max10MsFramesInAPacket() const { |
return num_10ms_frames_per_packet_; |
} |
+int AudioEncoderOpus::GetTargetBitrate() const { |
+ return bitrate_bps_; |
+} |
+ |
void AudioEncoderOpus::SetTargetBitrate(int bits_per_second) { |
bitrate_bps_ = std::max(std::min(bits_per_second, kMaxBitrateBps), |
kMinBitrateBps); |