Update VoiceRecorder.vue

For issue #95
This commit is contained in:
N-Pex 2021-04-14 10:17:02 +02:00
parent 3c19c0acdc
commit 4ed12743c4

View file

@ -339,6 +339,9 @@ export default {
this.recorder = RecordRTC(stream, { this.recorder = RecordRTC(stream, {
type: "audio", type: "audio",
mimeType: "audio/webm", mimeType: "audio/webm",
sampleRate: 16000,
desiredSampRate: 16000,
numberOfAudioChannels: 1
}); });
this.recorder.startRecording(); this.recorder.startRecording();
this.state = State.RECORDING; this.state = State.RECORDING;