File tree 2 files changed +10
-13
lines changed
2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export default {
65
65
},
66
66
incrementTime () {
67
67
this .remainingTime = -- this .remainingTime
68
- if (this .remainingTime > this .timeLimit ) {
68
+ if (this .remainingTime >= this .timeLimit ) {
69
69
this .stopTimer ()
70
70
}
71
71
},
Original file line number Diff line number Diff line change 101
101
multi-line
102
102
vertical
103
103
>
104
+ <!-- eslint-disable-next-line -->
104
105
<span v-html =" snackbarText" ></span >
105
106
<v-btn text @click =" snackbar = false" >
106
107
Close
@@ -199,19 +200,15 @@ export default {
199
200
onTimeout: this .stopRecording
200
201
}
201
202
202
- try {
203
- this .recorder = new window.WebAudioRecorder (this .input , options)
203
+ this .recorder = new window.WebAudioRecorder (this .input , options)
204
204
205
- this .recorder .setOptions ({
206
- timeLimit: this .TIME_LIMIT ,
207
- encodeAfterRecord: ENCODE_AFTER_RECORD ,
208
- mp3: {
209
- bitRate: 160
210
- }
211
- })
212
- } catch (e) {
213
- console .warn (' Exception caught' , e)
214
- }
205
+ this .recorder .setOptions ({
206
+ timeLimit: this .TIME_LIMIT ,
207
+ encodeAfterRecord: ENCODE_AFTER_RECORD ,
208
+ mp3: {
209
+ bitRate: 160
210
+ }
211
+ })
215
212
})
216
213
}
217
214
},
You can’t perform that action at this time.
0 commit comments