Merge branch 'server-api' of https://github.com/Monadical-SAS/reflector into server-api

This commit is contained in:
Koper
2023-08-09 19:12:27 +07:00
9 changed files with 178 additions and 42 deletions

View File

@@ -97,7 +97,11 @@ export default function Recorder(props) {
document.getElementById("play-btn").disabled = false;
} else {
const stream = await navigator.mediaDevices.getUserMedia({
audio: { deviceId },
audio: {
deviceId,
noiseSuppression: false,
echoCancellation: false,
},
});
await record.startRecording(stream);
props.setStream(stream);