diff --git a/package.json b/package.json index e86ba6a..33819da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opus-encdec", - "version": "0.1.0", + "version": "0.1.1", "description": "A JavaScript library for encoding and decoding OPUS audio", "homepage": "https://github.com/mmig/opus-encdec", "author": "russaa", diff --git a/src/recorder.js b/src/recorder.js index 6deb2ac..5df392c 100755 --- a/src/recorder.js +++ b/src/recorder.js @@ -40,7 +40,7 @@ Recorder.isRecordingSupported = function(){ return AudioContext && getUserMediaSupported && global.WebAssembly; }; -Recorder.version = '8.0.3'; +Recorder.version = '0.1.1'; // Instance Methods @@ -269,7 +269,7 @@ Recorder.prototype.stop = function(){ this.state = "inactive"; // macOS and iOS requires the source to remain connected (in case stopped while paused) - this.recordingGainNode.connect( this.encoderNode ); + this.recordingGainNode.connect( this.encoderNode ); this.monitorGainNode.disconnect(); this.clearStream();