Disable autoGainControl, echoCancellation and noiseSuppression in recorder
parent
ae23949ec0
commit
b785638dc0
|
@ -55,7 +55,13 @@ class Recorder extends React.Component {
|
|||
navigator.webkitGetUserMedia);
|
||||
|
||||
if (navigator.getUserMedia && window.MediaRecorder) {
|
||||
const constraints = {audio: true};
|
||||
const constraints = {
|
||||
audio: {
|
||||
echoCancellation: false,
|
||||
autoGainControl: false,
|
||||
noiseSuppression: false,
|
||||
}
|
||||
};
|
||||
this.chunks = [];
|
||||
const { blobOpts, onStop, onError, mediaOpts, onPause, onResume, onStart, gotStream } = this.props;
|
||||
|
||||
|
|
Loading…
Reference in New Issue