parent
3c19c0acdc
commit
4ed12743c4
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue