Index: webrtc/audio/audio_send_stream.h |
diff --git a/webrtc/audio/audio_send_stream.h b/webrtc/audio/audio_send_stream.h |
index af0513ccf776fd5513f7b10ca17bb0960d1d2ec4..4c3ffe5ec21c6f64fe6a300f8da5ac2a830e510b 100644 |
--- a/webrtc/audio/audio_send_stream.h |
+++ b/webrtc/audio/audio_send_stream.h |
@@ -16,6 +16,7 @@ |
#include "webrtc/api/call/audio_send_stream.h" |
#include "webrtc/api/call/audio_state.h" |
#include "webrtc/base/constructormagic.h" |
+#include "webrtc/base/onetimeevent.h" |
#include "webrtc/base/thread_checker.h" |
#include "webrtc/call/bitrate_allocator.h" |
@@ -63,6 +64,7 @@ class AudioSendStream final : public webrtc::AudioSendStream, |
VoiceEngine* voice_engine() const; |
bool SetupSendCodec(); |
+ void UpdateSmoothedBitrate(); |
rtc::ThreadChecker thread_checker_; |
rtc::TaskQueue* worker_queue_; |
@@ -71,6 +73,7 @@ class AudioSendStream final : public webrtc::AudioSendStream, |
std::unique_ptr<voe::ChannelProxy> channel_proxy_; |
BitrateAllocator* const bitrate_allocator_; |
+ OneTimeEvent first_update_bitrate_; |
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioSendStream); |
}; |