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

Unified Diff: webrtc/modules/congestion_controller/include/send_side_congestion_controller.h

Issue 2997883002: Video/Screenshare loopback tool.
Patch Set: Rebase Created 3 years, 4 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/include/send_side_congestion_controller.h
diff --git a/webrtc/modules/congestion_controller/include/send_side_congestion_controller.h b/webrtc/modules/congestion_controller/include/send_side_congestion_controller.h
index 490711f54db3ed668b82cb967037eae63ae9e2c4..6bd0ad0907b67c61e4c4b5c4b64132624603e5e7 100644
--- a/webrtc/modules/congestion_controller/include/send_side_congestion_controller.h
+++ b/webrtc/modules/congestion_controller/include/send_side_congestion_controller.h
@@ -24,6 +24,7 @@
#include "webrtc/rtc_base/constructormagic.h"
#include "webrtc/rtc_base/criticalsection.h"
#include "webrtc/rtc_base/networkroute.h"
+#include "webrtc/rtc_base/optional.h"
#include "webrtc/rtc_base/race_checker.h"
namespace rtc {
@@ -115,6 +116,8 @@ class SendSideCongestionController : public CallStatsObserver,
void OnTransportFeedback(const rtcp::TransportFeedback& feedback) override;
std::vector<PacketFeedback> GetTransportFeedbackVector() const override;
+ void PrintDebugStuff();
+
private:
void MaybeTriggerOnNetworkChanged();
@@ -154,6 +157,9 @@ class SendSideCongestionController : public CallStatsObserver,
rtc::RaceChecker worker_race_;
+ bool print_ = false;
+ rtc::Optional<float> reduction_rate_;
+
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SendSideCongestionController);
};

Powered by Google App Engine
This is Rietveld 408576698