lundi 9 février 2015

PhoneGap/Cordova: Live Audio Input

currently I'm working on my bachelor thesis that is based on another student's work. He has implemented an acoustic communication between 2 PCs on browser level using the Web Audio API. I have to port his code on mobile devices using PhoneGap. The transmitting code works fine, so here is nothing to do. But the receiver doesn't even start. I think this is because PhoneGap doesn't allow/support live audio input (based on my google research).


I've just found out that the application crashes at



navigator.getUserMedia( {audio:true},
function(stream) {
boom('Live stream is being recieved!!!');
//Wrap the stream and send it to analyser for fft analysis
window.input = audio_context.createMediaStreamSource(stream);
}, function(err) {boom('No live audio input ' + err);});


The question: is there any solution (plugin) to get the live audio input?


Aucun commentaire:

Enregistrer un commentaire