vosk-server icon indicating copy to clipboard operation
vosk-server copied to clipboard

Vosk server connection with web socket

Open SuheylaSarikaya opened this issue 2 years ago • 5 comments

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

SuheylaSarikaya avatar Aug 29 '22 13:08 SuheylaSarikaya

Which vosk plugin exactly?

nshmyrev avatar Aug 29 '22 14:08 nshmyrev

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

SuheylaSarikaya avatar Aug 30 '22 20:08 SuheylaSarikaya

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

nshmyrev avatar Aug 31 '22 08:08 nshmyrev

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?

SuheylaSarikaya avatar Sep 01 '22 06:09 SuheylaSarikaya

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

nshmyrev avatar Sep 01 '22 07:09 nshmyrev