JP Bader
JP Bader
I had limited success in this, meaning I could only get audio out from freepbx to the vosk server if they were the same machine, which severely limited my options....
Possible solution is adding the exception_on_overflow to the stream.read: data = stream.read(4000, exception_on_overflow=False) I saw occassional overflow errors that crashed the program. This helps (though it's not an ultimate solution...
As mentioned, I did not say it was an ultimate solution, just that it can bypass this error (especially helpful in testing). I tested reducing the rate to 2000 and...