repo: janusweb action: commit revision: path_from: revision_from: 80725951f225a8a1cba8260a7d1954f98c2ee689: path_to: revision_to:
commit 80725951f225a8a1cba8260a7d1954f98c2ee689 Author: James BaicoianuDate: Fri May 6 01:25:35 2016 -0700 Removed debug logs diff --git a/scripts/external/JanusVOIP.js b/scripts/external/JanusVOIP.js
--- a/scripts/external/JanusVOIP.js
+++ b/scripts/external/JanusVOIP.js
@@ -225,12 +225,9 @@
// Create a new view into the decoded data which gives us the data as int16_t instead of unsigned chars
var audiodata16 = new Int16Array(audiodata.buffer);
- console.log('decoded', audiodata, audiodata16);
-
var startoffset = this.writeoffset;
// Write the scaled data into our buffer, treating it as a looping ring buffer
for (var i = 0; i < audiodata16.length; i++) {
- console.log(audiodata[i] / this.audioScale);
var idx = (startoffset + i) % this.bufferLength;
bufferLeft[idx] = bufferRight[idx] = (audiodata16[i] / this.audioScale);
}
-----END OF PAGE-----