2

I'm using MP3RecorderJS. It workkd well except that when the audio I'm recording gets past about 30 seconds, it fails as Javascript throws an out of memory error, which is due to the base64 data being too big.

Here is the code I'm using:

  recorderObject.exportMP3(function(base64_mp3_data) {
    var url = 'data:audio/mp3;base64,' + base64_mp3_data;
  });

This is where it fails as the Ajax function that follows isn't being read.

As mentioned, it works when I record audio for 15-30 seconds. Longer than that and it fails.

Any help is very much appreciated.

B

Lhen
  • 181
  • 3
  • 15

0 Answers0