# SpeechToTextOpenvidu

**URL:** <https://openvidu.discourse.group/t/speechtotextopenvidu/5341>\
**Category:** How to implement?\
**Created:** [April 3, 2025, 1:19pm UTC](https://openvidu.discourse.group/t/speechtotextopenvidu/5341 "2025-04-03T13:19:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravindra](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@Ravindra](https://openvidu.discourse.group/u/Ravindra)\
**Post date:** [April 3, 2025, 1:19pm UTC](https://openvidu.discourse.group/t/speechtotextopenvidu/5341/1 "2025-04-03T13:19:12Z")

</div>

@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

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [April 3, 2025, 2:06pm UTC](https://openvidu.discourse.group/t/speechtotextopenvidu/5341/2 "2025-04-03T14:06:33Z")

</div>

Hello,

What difficulties have you found following the official documentaion? [Speech To Text - OpenVidu Docs](https://docs.openvidu.io/en/2.31.0/advanced-features/speech-to-text/)

---

<div class="post-metadata">

**Author:** ![Ravindra](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@Ravindra](https://openvidu.discourse.group/u/Ravindra)\
**Post date:** [April 4, 2025, 12:42pm UTC](https://openvidu.discourse.group/t/speechtotextopenvidu/5341/3 "2025-04-04T12:42:30Z")

</div>

@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](https://github.com/OpenVidu/openvidu-tutorials.git) -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://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

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [April 7, 2025, 9:05am UTC](https://openvidu.discourse.group/t/speechtotextopenvidu/5341/4 "2025-04-07T09:05:37Z")

</div>

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](https://docs.openvidu.io/en/2.31.0/tutorials/openvidu-speech-to-text/).

You must therefore configure the tutorial to point to a valid OpenVidu PRO or ENTERPRISE deployment, with the [**Speech To Text feature enabled**](https://docs.openvidu.io/en/2.31.0/advanced-features/speech-to-text/#speech-to-text-engines). Only then the tutorial will work properly when enabling the captions.

Best regards.
