Skip to content
Snippets Groups Projects
Commit 234f7ebf authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix js chunk count problem

parent 1a151d9e
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ let uri_data = {}; ...@@ -13,7 +13,7 @@ let uri_data = {};
function RGBDClient(peer, N, rate, dest) { function RGBDClient(peer, N, rate, dest) {
this.peer = peer; this.peer = peer;
this.txmax = N; this.txmax = N*16;
this.rate = rate; this.rate = rate;
this.dest = dest; this.dest = dest;
this.txcount = 0; this.txcount = 0;
...@@ -21,6 +21,7 @@ function RGBDClient(peer, N, rate, dest) { ...@@ -21,6 +21,7 @@ function RGBDClient(peer, N, rate, dest) {
RGBDClient.prototype.push = function(uri, frame, ttime, chunk, rgb, depth) { RGBDClient.prototype.push = function(uri, frame, ttime, chunk, rgb, depth) {
this.peer.send(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++; this.txcount++;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment