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

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

Issue 2589743002: Make OverheadObserver::OnOverheadChanged count RTP headers only (Closed)
Patch Set: Add explicit cast. Created 3 years, 11 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/transport_feedback_adapter.h
diff --git a/webrtc/modules/congestion_controller/transport_feedback_adapter.h b/webrtc/modules/congestion_controller/transport_feedback_adapter.h
index 09363ec50c5e0de75e6bfed51d8e9b92b8b3ebb3..b7085be91dcc68855665d709447738de8262a278 100644
--- a/webrtc/modules/congestion_controller/transport_feedback_adapter.h
+++ b/webrtc/modules/congestion_controller/transport_feedback_adapter.h
@@ -49,6 +49,7 @@ class TransportFeedbackAdapter : public TransportFeedbackObserver,
void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override;
void SetMinBitrate(int min_bitrate_bps);
+ void SetTransportOverhead(int transport_overhead_bytes_per_packet);
int64_t GetProbingIntervalMs() const;
@@ -58,6 +59,7 @@ class TransportFeedbackAdapter : public TransportFeedbackObserver,
rtc::CriticalSection lock_;
rtc::CriticalSection bwe_lock_;
+ int transport_overhead_bytes_per_packet_ GUARDED_BY(&lock_);
SendTimeHistory send_time_history_ GUARDED_BY(&lock_);
std::unique_ptr<DelayBasedBwe> delay_based_bwe_ GUARDED_BY(&bwe_lock_);
Clock* const clock_;

Powered by Google App Engine
This is Rietveld 408576698