Open Youssefmb opened 1 month ago
`const { transcript, listening, browserSupportsSpeechRecognition } = useSpeechRecognition();
if (!browserSupportsSpeechRecognition) { return <span>Browser doesn't support speech recognition.</span>; }
`
` <>
<div className='position-absolute ml-4' style={{ 'top': '40rem' }}> <p className='text-white'>AI detector : {listening ? 'on' : 'off'}</p> <Button className='mr-1' onClick={SpeechRecognition.startListening({ continuous: true })}>Start</Button> <Button className='mr-1' onClick={SpeechRecognition.stopListening}>Stop</Button> </div> </>
here the transcript is not appair in the textArea or any other balise , i think it dosen't work , why?
i solve it , i just change the default microphone of the device.
`const { transcript, listening, browserSupportsSpeechRecognition } = useSpeechRecognition();
`
` <>
`
here the transcript is not appair in the textArea or any other balise , i think it dosen't work , why?