Web Audio API - record to MP3?

前端 未结 6 1091
感情败类
感情败类 2021-02-01 06:06

I am asking because I couldn\'t find the answer anywhere. I have successfully implemented RecorderJS in order to record microphone input in JS. However, the recorded file is WAV

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-01 06:43

    The only Javascript MP3 encoder I've seen is https://github.com/akrennmair/libmp3lame-js, which is a port using emscripten. It's supposed to be slow, and I've never used it.

    I don't know of any natively-written Javascript MP3 encoders, and encoding is not covered by the Web Audio API.

提交回复
热议问题