augnitorecorder
Advanced tools
Comparing version 1.0.31 to 1.0.32
@@ -862,7 +862,3 @@ function _regeneratorRuntime() { | ||
this.source = this.audioContext.createMediaStreamSource(audioStream); | ||
if (this.enableLogs) { | ||
console.log("AUDIO STREAM: ", audioStream); | ||
console.log("AUDIO SOURCE: ", this.source); | ||
} | ||
case 5: | ||
case 4: | ||
case "end": | ||
@@ -1057,11 +1053,15 @@ return _context3.stop(); | ||
case 0: | ||
if (!this.isStreaming) { | ||
_context8.next = 9; | ||
break; | ||
} | ||
if (!(this.audioContext.state !== "suspended")) { | ||
_context8.next = 4; | ||
_context8.next = 5; | ||
break; | ||
} | ||
_context8.next = 3; | ||
_context8.next = 4; | ||
return this.audioContext.suspend(); | ||
case 3: | ||
case 4: | ||
this.onStateChanged(false); | ||
case 4: | ||
case 5: | ||
this.log("Stream stopped..."); | ||
@@ -1072,3 +1072,3 @@ this.isStreaming = false; | ||
(_this$processorNode = this.processorNode) === null || _this$processorNode === void 0 || (_this$processorNode = _this$processorNode.port) === null || _this$processorNode === void 0 || _this$processorNode.postMessage(STOP_MSG); | ||
case 8: | ||
case 9: | ||
case "end": | ||
@@ -1075,0 +1075,0 @@ return _context8.stop(); |
{ | ||
"name": "augnitorecorder", | ||
"version": "1.0.31", | ||
"version": "1.0.32", | ||
"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
130752