fix final recording broken by pause button

This commit is contained in:
Antonio Hofmeister
2019-02-22 17:29:13 -03:00
parent 77f3460825
commit 0c4c0cd091
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))
this.isPause = false
this.isRecording = true
this.lameEncoder = new Encoder({
if (!this.lameEncoder) this.lameEncoder = new Encoder({
bitRate : this.bitRate,
sampleRate : this.sampleRate
})