Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin-factory + engine config after installation? #14

Open
makafre opened this issue Feb 14, 2024 · 2 comments
Open

plugin-factory + engine config after installation? #14

makafre opened this issue Feb 14, 2024 · 2 comments

Comments

@makafre
Copy link

makafre commented Feb 14, 2024

Hi, this is the resulting configuration after my installation; kindly let me know of the following;

  • what should we put in the plugin-factory section to enable the plugin ?
  • does port 2700 actually tells UniMRCP where to connect to use the plugin?
  • are there any other parameters available we can use in the params section?
  • is there any doc somewhere we can look for to correctly configure the plugin?
    Thanks!

   <plugin-factory>
     <engine id="Demo-Synth-1" name="demosynth" enable="true"/>
     <engine id="Demo-Recog-1" name="demorecog" enable="true"/>
     <engine id="Demo-Verifier-1" name="demoverifier" enable="true"/>
     <engine id="Recorder-1" name="mrcprecorder" enable="true"/>

       <engine>
               <id>Vosk</id>
               <name>Vosk Engine</name>
               <description>Vosk Speech Recognition Engine</description>
               <!-- <module_path>/path/to/vosk-engine</module_path> -->
               <params>
                       <param name="server" value="192.168.0.57"/>
                       <param name="port" value="2700"/>
                       <!-- Add any additional parameters here -->
               </params>
       </engine>
   </plugin-factory>
 </components>
@nshmyrev
Copy link

Hello

what should we put in the plugin-factory section to enable the plugin ?

Plugin is already enabled in plugin factory, see here:

unispeech/unimrcp@master...alphacep:unimrcp-vosk-plugin:vosk-plugin#diff-96f36ff68e68ce8520fb465a706bdc4a5f35ac9ca9dd8ce722d11e49f1b29c08R124

does port 2700 actually tells UniMRCP where to connect to use the plugin?

Port 2700 is used by websocket vosk server, this plugin doesn't work with Vosk websocket server, it uses vosk library directly.

are there any other parameters available we can use in the params section?

This plugin doesn't have params yet

is there any doc somewhere we can look for to correctly configure the plugin?

Unfortunately no

                   <param name="server" value="192.168.0.57"/>

This piece of xml data is from some other codebase, not our plugin. We don't use websocket server, you should have taken it from other source.

@makafre
Copy link
Author

makafre commented Feb 20, 2024

Thank you for your quick feedback, it`s helpful !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants