Merge pull request #17 from antoniohof/master

Fix final recording broken by pause button
This commit is contained in:
Gennady Grishkovtsov
2019-02-23 10:49:16 +03:00
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -39,7 +39,7 @@ export default class {
.catch(this._micError.bind(this)) .catch(this._micError.bind(this))
this.isPause = false this.isPause = false
this.isRecording = true this.isRecording = true
this.lameEncoder = new Encoder({ if (!this.lameEncoder) this.lameEncoder = new Encoder({
bitRate : this.bitRate, bitRate : this.bitRate,
sampleRate : this.sampleRate sampleRate : this.sampleRate
}) })