diff --git a/src/components/VoiceRecorder.vue b/src/components/VoiceRecorder.vue index bfac14d..bca72f0 100644 --- a/src/components/VoiceRecorder.vue +++ b/src/components/VoiceRecorder.vue @@ -330,8 +330,8 @@ export default { startRecording() { var constraints = { audio: { - channelCount: 1, - sampleRate: 16000, + // channelCount: 1, + // sampleRate: 16000, echoCancellation: false, autoGainControl: true, noiseSuppression: true, @@ -344,7 +344,7 @@ export default { .then((stream) => { this.recorder = RecordRTC(stream, { type: "audio", - mimeType: "audio/webm", + mimeType: "audio/webm;codecs=pcm", }); this.recorder.startRecording(); this.state = State.RECORDING;