html5 stream audio from microphone to websocket

Hi,

I working on a project. To stream live audio from microphone to a websocket server (This will be coded in python or php).

Can someone here help me with the stream function with html5 script. A script to grab the users microphone and push the audio to the websocket server. And what function its importent in the websocket server ?

Hope someone can help me to get started.

Tnx

BTW, Sorry for my very bad english.

You do this with JavaScript, so I’ve moved this question to the JS forum. :slight_smile: (Despite these new browser APIs being associated with HTML5 for marketing purposes, they really have little to do with HTML. They involve JavaScript talking to the browser.)