SpeechToTextOpenvidu

@cruizba , @pabloFuente

GM

We are currently working on the Digit Meet 2.31 version and are trying to implement the “Speech to Text” functionality. Could you please assist us with how we can implement this feature?

Thanks
Ravindra

Hello,

What difficulties have you found following the official documentaion? Speech To Text - OpenVidu Docs

@pabloFuente ,

GM

I followed all the steps mentioned in the OpenVidu speech-to-text documentation to run the OpenVidu tutorials repository locally. Here are the steps I executed:

  1. Cloned the repository:

git clone GitHub - OpenVidu/openvidu-tutorials: OpenVidu tutorials to get started -b v2.31.0

  1. Navigated to the openvidu-basic-node directory:

cd openvidu-tutorials/openvidu-basic-node

  1. Installed dependencies:

npm install

  1. Ran the application:

node index.js

  1. Installed http-server globally:

npm install --location=global http-server

  1. Started the HTTP server:

http-server openvidu-tutorials/openvidu-speech-to-text/web

According to the documentation, I should be able to test the app by going to http://localhost:8080 once the server is running. However, when I open this URL, I get the following error:

This localhost page can’t be found
No webpage was found for the web address: http://localhost:8080/
HTTP ERROR 404

How can I run the OpenVidu tutorials locally so that the UI displays correctly on the web page?

also in second approach, we tried with our secrets key(openvidu_url and openvidu secret) , but still it is giving same error

Thanks,
Ravindra

If you don’t see the tutorial page at localhost:8080 it means that you are not properly serving the required path. Make sure that your are running http-server command exactly on path openvidu-tutorials/openvidu-speech-to-text/web.

Also, take into account that speech-to-text requires an OpenVidu PRO or OpenVidu ENTERPRISE deployment to work. You have this requirement stated at the tutorial page: openvidu-speech-to-text - OpenVidu Docs.

You must therefore configure the tutorial to point to a valid OpenVidu PRO or ENTERPRISE deployment, with the Speech To Text feature enabled. Only then the tutorial will work properly when enabling the captions.

Best regards.