Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: webrtc/voice_engine/channel.h

Issue 2546493002: Update smoothed bitrate. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/voice_engine/channel.h
diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h
index 2ce08eead5a092e830fc2e55e9a9e33690b274f8..337c8307d31af195e057621307b9c4d9fefefc21 100644
--- a/webrtc/voice_engine/channel.h
+++ b/webrtc/voice_engine/channel.h
@@ -332,6 +332,7 @@ class Channel
int SetCodecFECStatus(bool enable);
bool GetCodecFECStatus();
void SetNACKStatus(bool enable, int maxNumberOfPackets);
+ void UpdateSmoothedBitrate();
// From AudioPacketizationCallback in the ACM
int32_t SendData(FrameType frameType,
@@ -546,6 +547,7 @@ class Channel
rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
SmoothingFilterImpl bitrate_smoother_;
+ rtc::Optional<int> last_bitrate_bps_;
};
} // namespace voe

Powered by Google App Engine
This is Rietveld 408576698