diff --git a/web-service/public/js/lib/VideoPlayer.js b/web-service/public/js/lib/VideoPlayer.js index 36514e27f207d9b15d5c408b919965d1728eb1eb..c2efaa9f8fb15b823bcff709ea60d191170b115c 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 9a798b9b4d1fec87ca565d0e63d24548fe40c3bb..935f5e9ba010c6d1ed53f39ef7b856fadd51ce9a 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 856222ad8319d839d6fbcf884bf13926adf996b0..037af4f1e0e48c52810bf9cbee89756c0c10b6cc 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; }