alphacep / vosk-server

WebSocket, gRPC and WebRTC speech recognition server based on Vosk and Kaldi libraries
Apache License 2.0
869 stars 241 forks source link

Changed example reading file to actually connect to Vosk server #250

Closed pablojr closed 3 months ago

pablojr commented 3 months ago

I found existing example not working with Vosk server, mainly because of sample rate mismatch. Changed into using AudioInputStream, and more over, to send config message from client to server. I followed Python example as reference.

nshmyrev commented 3 months ago

Looks good too! Thank you