Sending a MediaStream to host Server with WebRTC after it is captured by getUserMedia
I am capturing audio data using getUserMedia() and I want to send it to my server so I can save it as a Blob in a MySQL field. This is all I am trying to do. I have made several attempts to do this using WebRTC, but I don't even know at this point if this is right or even the best way to do this. Can anybody help me? Here is the code I am using to capture audio from the microphone: navigator.getUserMedia({ video:false, audio:true, },function(mediaStream){ // output mediaStream to speakers: var mediaStreamSource=audioContext.createMediaStreamSource(mediaStream); mediaStreamSource.connect