Open barvhaim opened 9 months ago
I use the hook method with version 3.10, like
const { finalTranscript, interimTranscript, listening, browserSupportsSpeechRecognition } = useSpeechRecognition({ commands: [ { command: "*", callback: () => { console.log('Final', finalTranscript); }, }, ], clearTranscriptOnListen: true, });
and listen like:
SpeechRecognition.startListening({ language: "ar-JO", continuous: false, });
However, the callback is always printing finalTranscript empty, even when listening stops it's empty. What am I missing?
finalTranscript
I use the hook method with version 3.10, like
and listen like:
However, the callback is always printing
finalTranscript
empty, even when listening stops it's empty. What am I missing?