A captura de microfone HTML5 para após 5 segundos no Firefox

Estou capturando a entrada de áudio do microfone com a função getUserMedia (), funciona bem no chrome, mas no firefox o som apaga após 5 segundos. Se eu enviar novamente o pedido de microfone (sem recarregar a página), a mesma coisa acontece. Aqui está o código (eu useihttp://updates.html5rocks.com/2012/09/Live-Web-Audio-Input-Enabled como orientação):

//getting the function depending on browser

navigator.getMedia = ( navigator.getUserMedia ||
                       navigator.webkitGetUserMedia ||
                       navigator.mozGetUserMedia ||
                       navigator.msGetUserMedia);

// success callback when requesting audio input stream
function gotAudioStream(stream) {
    window.AudioContext = window.AudioContext || window.webkitAudioContext;
    var audioContext = new AudioContext();

    // 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 );
}


function gotError(err) {
      alert("An error occured! " + err);
}


//when button clicked, browser asks a permission to access microphone

jQuery("#sound_on").click(function()
{
    navigator.getMedia({audio: true},gotAudioStream,gotError);
});

Alguma ideia?

EDITAR / ATUALIZAR

Obrigado, csch, pela referência. Solução alternativa de Karoun Kasraie funcionou!

context = new AudioContext();

navigator.getUserMedia({ audio: true }, function(stream) {
  // the important thing is to save a reference to the MediaStreamAudioSourceNode
  // thus, *window*.source or any other object reference will do
  window.source = context.createMediaStreamSource(stream);
  source.connect(context.destination);
}, alert);

questionAnswers(1)

yourAnswerToTheQuestion