alphacep / vosk-server

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

Giving telephony audio file to vosk-server #121

Closed rose768 closed 3 years ago

rose768 commented 3 years ago

Hi, I run vosk-server demo with WebRTC protocol at http://0.0.0.0:2700/. It works well with microphone. How can I give a telephony audio file to the demo at http://0.0.0.0:2700/ and see the transcript?

nshmyrev commented 3 years ago

Same way? It should work, try it. You might just configure sample rate on the server side.

nshmyrev commented 3 years ago

Feel free to reopen if you have further questions