From 5abf0c778ace1c5fc993a9450b4c2e1d6e1f2236 Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Wed, 21 Aug 2019 21:06:18 +0300
Subject: [PATCH] Disable ABR for now

---
 components/rgbd-sources/src/abr.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/rgbd-sources/src/abr.cpp b/components/rgbd-sources/src/abr.cpp
index eb67581d0..5400fa5d6 100644
--- a/components/rgbd-sources/src/abr.cpp
+++ b/components/rgbd-sources/src/abr.cpp
@@ -13,7 +13,7 @@ using ftl::rgbd::detail::NetFrame;
 
 ABRController::ABRController() {
     bitrate_ = 0;
-    enabled_ = true;
+    enabled_ = false;
     max_ = kBitrateBest;
     min_ = kBitrateWorst;
 }
@@ -33,7 +33,7 @@ void ABRController::setMinimumBitrate(bitrate_t b) {
 }
 
 void ABRController::notifyChanged() {
-    enabled_ = true;
+    //enabled_ = true;
 }
 
 bitrate_t ABRController::selectBitrate(const NetFrame &frame) {
-- 
GitLab