From 8c3ce89f957b9e750794354076d5ff6cfd034871 Mon Sep 17 00:00:00 2001
From: Sami Spets <savasp@utu.fi>
Date: Mon, 9 Dec 2019 10:35:35 +0200
Subject: [PATCH] Changed the subscribe rate back from 6 to 0

---
 web-service/public/js/lib/VideoPlayer.js | 2 --
 web-service/server/src/index.js          | 2 +-
 web-service/server/src/peer.js           | 3 ---
 3 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/web-service/public/js/lib/VideoPlayer.js b/web-service/public/js/lib/VideoPlayer.js
index 36514e27f..c2efaa9f8 100644
--- a/web-service/public/js/lib/VideoPlayer.js
+++ b/web-service/public/js/lib/VideoPlayer.js
@@ -88,8 +88,6 @@ VideoPlayer.prototype._display_image = function(image) {
 };
 
 
-
-
 VideoPlayer.prototype._handle_onload = function(peer, decodedURI, uri) {
     var that = this;
     this._set_status("initializing");
diff --git a/web-service/server/src/index.js b/web-service/server/src/index.js
index 9a798b9b4..935f5e9ba 100644
--- a/web-service/server/src/index.js
+++ b/web-service/server/src/index.js
@@ -126,7 +126,7 @@ RGBDStream.prototype.subscribe = function() {
 	//console.log("Subscribe to ", this.uri);
 	// TODO: Don't hard code 9 here, instead use 9 for thumbnails and 0 for
 	// the video...
-	this.peer.send("get_stream", this.uri, 10, 3, [Peer.uuid], this.uri);
+	this.peer.send("get_stream", this.uri, 10, 0, [Peer.uuid], this.uri);
 }
 
 RGBDStream.prototype.pushFrames = function(latency, spacket, packet) {
diff --git a/web-service/server/src/peer.js b/web-service/server/src/peer.js
index 856222ad8..037af4f1e 100644
--- a/web-service/server/src/peer.js
+++ b/web-service/server/src/peer.js
@@ -280,9 +280,6 @@ Peer.prototype.on = function(evt, f) {
  * Returns a UUID in a string form
  */
 Peer.prototype.getUuid = function() {
-	const digits = "0123456789abcdef";
-	let uuid = "";
-	
 	return cpp_my_uuid;
 }
 
-- 
GitLab