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

Unified Diff: webrtc/modules/congestion_controller/delay_based_bwe.h

Issue 2407143002: Remove GetFeedbackInterval in sender side BWE. (Closed)
Patch Set: rebased Created 4 years, 2 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/modules/congestion_controller/delay_based_bwe.h
diff --git a/webrtc/modules/congestion_controller/delay_based_bwe.h b/webrtc/modules/congestion_controller/delay_based_bwe.h
index c5be7652324bb7f26c7fbbd5fe5bb21c90684ad2..f8ca1dc2359893d98fd22cf325d26c4512b7e827 100644
--- a/webrtc/modules/congestion_controller/delay_based_bwe.h
+++ b/webrtc/modules/congestion_controller/delay_based_bwe.h
@@ -53,12 +53,9 @@ class DelayBasedBwe {
void SetMinBitrate(int min_bitrate_bps);
private:
- Result IncomingPacketInfo(const PacketInfo& info);
- // Updates the current remote rate estimate and returns true if a valid
- // estimate exists.
- bool UpdateEstimate(int64_t packet_arrival_time_ms,
- int64_t now_ms,
- uint32_t* target_bitrate_bps);
+ Result IncomingPacketInfo(const PacketInfo& info, int64_t now_ms);
+ // Updates the current remote rate estimate.
+ void UpdateEstimate(int64_t packet_arrival_time_ms, int64_t now_ms);
rtc::ThreadChecker network_thread_;
Clock* const clock_;
@@ -66,7 +63,6 @@ class DelayBasedBwe {
std::unique_ptr<OveruseEstimator> estimator_;
OveruseDetector detector_;
RateStatistics receiver_incoming_bitrate_;
- int64_t last_update_ms_;
int64_t last_seen_packet_ms_;
bool uma_recorded_;
AimdRateControl rate_control_;

Powered by Google App Engine
This is Rietveld 408576698