Why is this AudioWorklet to MP3 code producing different results on Chromium and Firefox?

845 views
Skip to first unread message

guest271314

unread,
Mar 17, 2024, 9:38:00 AM3/17/24
to media-dev

I'm running the same code on Firefox 125 and Chromium 124.

The code run on Firefox produces a Blob that is an encoded MP3 file - after chopping up whatever audio is being played in Firefox while the audio is finalizing encoding.

The Chromium version produces an MP3 that is full of glitches, clipping, and plays back faster.

Here's a link to a ZIP file containing the result examples https://github.com/guest271314/MP3Recorder/files/14625262/firefox125_chromium124_audioworklet_to_mp3.zip.

Here's a link to the source code https://github.com/guest271314/MP3Recorder/blob/main/MP3Recorder.js.

Reply all
Reply to author
Forward
0 new messages