Stream records audio from browser to server

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.

+13
source share
1 answer

I am currently doing this with some software that allows you to stream to internet radio servers via your web browser.

API WebAudio getUserMedia, PCM . 32- 16, 12 8- . int BinaryJS, Node.js, . BinaryJS , , WebSocket .

http://demo.audiopump.co:3000/

+20

All Articles