mi arrendo. nonostante abbia scaricato chrome canary, abbia abilitato tutti i flag di getusermedia e webaudio, chrome non sembra volermi chiedere i permessi per il microfono, ma neanche chiamare la callback di errore. attenderò o qualcuno che ne conosca il funzionamento oppure una migliore documentazione.
questo il codice finale
codice:
function init() {
// success callback when requesting audio input stream
function gotStream(stream) {
var audioContext = new webkitAudioContext(); // Create an AudioNode from the stream.
var mediaStreamSource = audioContext.createMediaStreamSource( stream ); // Connect it to the destination to hear yourself (or any other node for processing!)
mediaStreamSource.connect( audioContext.destination );
}
navigator.webkitGetUserMedia( {audio:true}, gotStream() ,function(){alert("errore")} ); }