RealtimeSTT icon indicating copy to clipboard operation
RealtimeSTT copied to clipboard

recorder.stop() called in parallel don't work when recoder.text() already running

Open samuelOTOFA opened this issue 7 months ago • 2 comments

I've set up a hotkey with the keyboard module so that when I press ctrl-d a function calls recorder.stop() in parallel while recorder.text() is already running. I've noticed that when I call recorder.stop() in parallel it has no effect (recorder.text always stays running and the next line of code isn't called) which I find a bit embarrassing. Could someone please help me?

ps: i don't want to call recoder.shutdown() because i use recorder.text() in a while loop

samuelOTOFA avatar Apr 02 '25 10:04 samuelOTOFA