From b1d542d170c729db440ec111986eb2c8d027b33f Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Wed, 15 Jul 2020 17:16:17 +1000 Subject: [PATCH] Removed log in peer --- src/helpers/Peer.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/helpers/Peer.js b/src/helpers/Peer.js index 697c9f2..32984eb 100644 --- a/src/helpers/Peer.js +++ b/src/helpers/Peer.js @@ -15,7 +15,6 @@ class Peer extends SimplePeer { this.on("data", (packed) => { const unpacked = decode(packed); - console.log("Recieving data", unpacked); // If the special property __chunked is set and true // The data is a partial chunk of the a larger file // So wait until all chunks are collected and assembled @@ -55,11 +54,9 @@ class Peer extends SimplePeer { send(data) { try { const packedData = encode(data); - console.log("Sending data", data); if (packedData.byteLength > MAX_BUFFER_SIZE) { const chunks = this.chunk(packedData); for (let chunk of chunks) { - console.log("Sending Chunk", chunk); super.send(encode(chunk)); } return;