Index: webrtc/audio/audio_receive_stream.cc |
diff --git a/webrtc/audio/audio_receive_stream.cc b/webrtc/audio/audio_receive_stream.cc |
index 8dc14e850f74f73f1fe5b59208bbe424962016e8..8c073d9c8c3250e29d132d4cbb27566c999687da 100644 |
--- a/webrtc/audio/audio_receive_stream.cc |
+++ b/webrtc/audio/audio_receive_stream.cc |
@@ -207,6 +207,11 @@ webrtc::AudioReceiveStream::Stats AudioReceiveStream::GetStats() const { |
return stats; |
} |
+int AudioReceiveStream::GetOutputLevel() const { |
+ RTC_DCHECK_RUN_ON(&worker_thread_checker_); |
+ return channel_proxy_->GetSpeechOutputLevel(); |
+} |
+ |
void AudioReceiveStream::SetSink(std::unique_ptr<AudioSinkInterface> sink) { |
RTC_DCHECK_RUN_ON(&worker_thread_checker_); |
channel_proxy_->SetSink(std::move(sink)); |