alphacep / vosk-server

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

Vosk server connection with web socket #195

Open SuheylaSarikaya opened 1 year ago

SuheylaSarikaya commented 1 year ago

How to connect vosk plugin to vosk server with web socket? Is there such an example?

nshmyrev commented 1 year ago

Which vosk plugin exactly?

SuheylaSarikaya commented 1 year ago

I used this link (https://github.com/alphacep/unimrcp-vosk-plugin).

nshmyrev commented 1 year ago

We don't have unimrcp plugin code that uses websockets, it is a big project to implement one.

SuheylaSarikaya commented 1 year ago

I'm doing speech recognition using asterisk + unimrcp (vosk plugin), but for a real-time system, is a websocket connection needed using mrcp? If necessary, should I write a plugin for unimrcp or can I find an alternative plugin that is open source compatible with unirmrcp? I actually want to use my own asr using mrcp with a real time sound (from mic or asterisk). Do you have any suggestions how I can do this?

nshmyrev commented 1 year ago

is a websocket connection needed using mrcp?

No, you just use unimrcp

I actually want to use my own asr using mrcp with a real time sound (from mic or asterisk). Do you have any suggestions how I can do this?

You can use https://github.com/alphacep/unimrcp-vosk-plugin/tree/vosk-plugin/plugins/vosk-recog direcly