0

I've managed to create a web app that uses google speech api

It's essentially a video chat web app that translates text real time

So speech is converted to text, which is then translated to another language(using google translate api) and the translated text is exchanged between users

My program is written in nodejs

In my program, I have used arecord to record speech that is to be sent to the google speech api

So far, I have deployed the web app in a Digital Ocean VPS and use putty to run and terminate the program. I followed this tutorial to get so far.I managed to get the video chat bit to work on deployment, however when the speech api part of the program runs, I get an error saying "spawn arecord ENOENT". This could be because I'm running the program on putty and so it can't find a program called "arecord"

How do I go about resolving this?

Please let me know if you need to see the code and I will edit my question to include it.

0 Answers0