Revert "Download recording and set fallbacks for record data"

This reverts commit d65bbade43.
This commit is contained in:
Chigozirim Igweamaka 2024-06-11 08:45:46 +01:00
parent d65bbade43
commit 5547fedd7c

View file

@ -159,7 +159,7 @@ function App() {
const reader = new FileReader();
cleanUp();
downloadRecording(blob);
// downloadRecording(blob);
reader.readAsArrayBuffer(blob);
reader.onload = (event) => {
@ -178,9 +178,9 @@ function App() {
const recordData = {
audio: rawAudio,
channels: audioConfig.channelCount || 1,
sampleRate: audioConfig.sampleRate || 44100,
sampleSize: audioConfig.sampleSize || 16,
channels: audioConfig.channelCount,
sampleRate: audioConfig.sampleRate,
sampleSize: audioConfig.sampleSize,
};
if (sendRecordingRef.current) {