You should do this, but I believe that browser support will allow you to go down somewhere along the line.
You should be able to create multiple media sources by specifying the microphone ID when using getUserMedia. You can find the identifiers of all connected multimedia devices using MediaDevices.enumerateDevices ()
Once you have two separate microphone inputs, you can receive data using AudioContext.
Then this is the case to do what you do with bit data before outputting it to the browser.
This is a very high level, and the details of the actual implementation are likely to take quite a while, but for your question: Yes, it should be possible if there is browser support.
michael
source share