Hi there,
the encoder to mp3 doesn't work anymore.
Here is my code :
import encode from 'audio-encoder';
export const bufferToMp3 = (buffer) => {
return new Promise((res, rej) => {
encode(buffer, 320, null, blob => res(blob));
})
}
An error is thrown :
Lame.js:135 Uncaught (in promise) ReferenceError: MPEGMode is not defined
at lame_init_old (Lame.js:135:1)
at Lame.lame_init (Lame.js:229:1)
at new Mp3Encoder (index.js:100:1)
at encodeMp3 (encodeMp3.js:49:1)
Hi there,
the encoder to mp3 doesn't work anymore.
Here is my code :
An error is thrown :