From 234f7ebfc858582ec08f7268447f31585f538480 Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Fri, 23 Aug 2019 19:37:43 +0300
Subject: [PATCH] Fix js chunk count problem

---
 web-service/src/index.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/web-service/src/index.js b/web-service/src/index.js
index 565735222..4dfc8fac9 100644
--- a/web-service/src/index.js
+++ b/web-service/src/index.js
@@ -13,7 +13,7 @@ let uri_data = {};
 
 function RGBDClient(peer, N, rate, dest) {
 	this.peer = peer;
-	this.txmax = N;
+	this.txmax = N*16;
 	this.rate = rate;
 	this.dest = dest;
 	this.txcount = 0;
@@ -21,6 +21,7 @@ function RGBDClient(peer, N, rate, dest) {
 
 RGBDClient.prototype.push = function(uri, frame, ttime, chunk,  rgb, depth) {
 	this.peer.send(uri, frame, ttime, chunk, rgb, depth);
+	console.log("Push frame: ", uri, frame, ttime, chunk);
 	this.txcount++;
 }
 
-- 
GitLab