remove audio processing
This commit is contained in:
13
index.js
13
index.js
@@ -96,7 +96,18 @@ function handleListeningCheckbox(e) {
|
||||
}
|
||||
if(e.target.checked) {
|
||||
navigator.mediaDevices
|
||||
.getUserMedia({ audio: true })
|
||||
.getUserMedia({
|
||||
audio: {
|
||||
mandatory: {
|
||||
autoGainControl: false,
|
||||
echoCancellation: false,
|
||||
noiseSuppression: false,
|
||||
suppressLocalAudioPlayback: false,
|
||||
voiceIsolation: false
|
||||
},
|
||||
optional: []
|
||||
}
|
||||
})
|
||||
.then(handleMicrophoneOn)
|
||||
.catch(handleMicrophoneError)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user