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

Unified Diff: webrtc/common_video/include/bitrate_adjuster.h

Issue 2029593002: Update RateStatistics to handle too-little-data case. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed comment Created 4 years, 6 months 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/common_video/include/bitrate_adjuster.h
diff --git a/webrtc/common_video/include/bitrate_adjuster.h b/webrtc/common_video/include/bitrate_adjuster.h
index 1f2474f88b13f6738f797b609e3d18d085141af8..5fd1e3851b1c6369f1cc937a7400c0f8d86fd280 100644
--- a/webrtc/common_video/include/bitrate_adjuster.h
+++ b/webrtc/common_video/include/bitrate_adjuster.h
@@ -47,7 +47,7 @@ class BitrateAdjuster {
uint32_t GetAdjustedBitrateBps() const;
// Returns what we think the current bitrate is.
- uint32_t GetEstimatedBitrateBps();
+ rtc::Optional<uint32_t> GetEstimatedBitrateBps();
// This should be called after each frame is encoded. The timestamp at which
// it is called is used to estimate the output bitrate of the encoder.
« no previous file with comments | « webrtc/common_video/bitrate_adjuster_unittest.cc ('k') | webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698