RealtimeSTT icon indicating copy to clipboard operation
RealtimeSTT copied to clipboard

reworked mic reconnection on errors

Open sangheonEN opened this issue 4 months ago • 0 comments

The audio device might still be in the process of resetting when you attempt to reinitialize it after calling terminate(). When the interface is terminated, the system might not immediately recognize the microphone device (especially if it was briefly disconnected), leading to the "No Default Input Device Available" error.

By removing the termination step, you avoid fully closing the interface, allowing the device to reconnect more smoothly.

image

sangheonEN avatar Oct 25 '24 01:10 sangheonEN