augnitorecorder
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -420,4 +420,4 @@ function _regeneratorRuntime() { | ||
self.onmessage = function (event) { | ||
if (event.data === DONE_MSG) { | ||
add(EOS_MSG); | ||
if (event.data === "DONE") { | ||
add("EOS"); | ||
if (enableLogs) { | ||
@@ -494,3 +494,3 @@ console.log("Worker received DONE, time to terminate..."); | ||
// console.error("WebSocket connection is not open..."); | ||
if (+new Date() - lastConnect > CONNECT_RETRY_TIMEOUT) { | ||
if (+new Date() - lastConnect > 10000) { | ||
// log("...time to reconnect."); | ||
@@ -545,3 +545,3 @@ initConnect(); | ||
var currentTime = +new Date(); | ||
if (lastDataSent > lastDataReceived && currentTime - lastDataReceived > SOCKET_TIMEOUT) { | ||
if (lastDataSent > lastDataReceived && currentTime - lastDataReceived > 10000) { | ||
if (enableLogs) { | ||
@@ -548,0 +548,0 @@ console.error("No data received since more than ".concat(SOCKET_TIMEOUT / 1000, " secs, closing time...")); |
{ | ||
"name": "augnitorecorder", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Audio recorder and streamer compatible with any browser", | ||
@@ -5,0 +5,0 @@ "main": "dist/augnitoRecorder.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2672
109349