Open CaiIsProgrammer opened 1 year ago
using this to start and stop
useEffect(() => {
if (record) {
if (volume > 10) {
setIsPaused(false);
setTime(0);
if (!listening) {
SpeechRecognition.startListening({ language: "en-US" });
}
} else if (time > 1000) {
setTime(0);
setIsPaused(true);
SpeechRecognition.stopListening();
}
}
}, [record, time]);
using this to start and stop
useEffect(() => { if (record) { if (volume > 10) { setIsPaused(false); setTime(0); if (!listening) { SpeechRecognition.startListening({ language: "en-US" }); } } else if (time > 1000) { setTime(0); setIsPaused(true); SpeechRecognition.stopListening(); } } }, [record, time]);
Did you manage to fix your problem? I'm having the exact same issue and can't seem to find the cause.
so im trying to polly fill azure like this
and
but niether are working and yes i redacted my key
errors are
and