I would like to record streaming recorded audio from a browser to a server and play it. The server will be an embedded device that plays these audio streams.
So far, I have successfully recorded audio and encoded it into a WAVE file and played it in a browser using the web audio API and after this tutorial .
Now I have a stream of .WAV encoded blobs. I tried to find ways to transfer them to a nodejs server with a connection to a web socket and play them using the npm module. But I’m out of luck.
Does anyone know any resources or modules I should follow? Maybe I should try a different approach? Sound should play relatively quickly on the server from the moment it was recorded in the browser.
source
share