import { useReactMediaRecorder } from 'react-media-recorder';
// React Media Recorder hook
const { status, startRecording, stopRecording, mediaBlobUrl } =
useReactMediaRecorder({
audio: true,
mediaRecorderOptions: {
audioBitsPerSecond: 16000,
bitsPerSecond: 16000,
},
onStop: onAudioResponseRecordingDone,
});
This compiles fine in typescript and the code also works fine but I'd like to avoid this "Worker not defined" error in Chrome if possible. I am using next.js 14.2.5
This compiles fine in typescript and the code also works fine but I'd like to avoid this "Worker not defined" error in Chrome if possible. I am using next.js 14.2.5