Capturing Microphone Using Html 5 and broadcast using socket.io

The Stream API should allow you to do this but unfortunately it’s not supported in any of the current (stable) browsers. You could download the nightly build of Google Chrome which definitely includes some support for the API, though how complete I’m not sure.

I’m guessing it shouldn’t be too long until plugins for node start appearing to help with the handling of this stuff on the server side, but meantime the following might be useful:

  1. Streaming audio from a Node.js server to HTML5 tag
  2. A Node.js module for parsing and/or injecting metadata into SHOUTcast/Icecast radio streams.
  3. Streaming audio using Firefox Audio Data API + Node.js + WebSocket + Redis Pub/Sub

Read more here: Source link