code: function onAudioInputCapture(evt) {
      try {
          if (evt && evt.data) {
              // Increase the debug counter for received data
              totalReceivedData += evt.data.length;
  
              // Push the data to the audio queue (array)
              audioDataQueue.push(evt.data);
          }
      }
      catch (ex) {
          alert("onAudioInputCapture ex: " + ex);
      }
  }
docs: Called continuously while AudioInput capture is running.