I\'m trying to use the microphone of my webcam logitech to listen
with sr.Microphone(sample_rate=32000) as source: ...
This error occurs :
I got this error while working with python threads.
I was creating 2 pyaudio objects for different purposes and hadn't closed one of them later. This gave me the error:
pyaudio
[Errno - 9999] Unanticipated host error
Closing that thread fixed my issue.