ai / audio-recorder-polyfill

MediaRecorder polyfill to record audio in Edge and Safari
https://ai.github.io/audio-recorder-polyfill/
MIT License
583 stars 79 forks source link

Built version including mp3 encoding #55

Closed madeInLagny closed 4 years ago

madeInLagny commented 4 years ago

Hi, I develop using a buildless environment. How can I get a built version of the polyfill to include to my project ? Tried to build the repo but failed on node-env Thanks

ai commented 4 years ago

We do not support buildless environment because I think they are bad for user performance

madeInLagny commented 4 years ago

Sure, but this is just for development purposes. I don't think that the cdn option gives access to mp3 encoding...or does it ?

Le mar. 28 avr. 2020 à 18:54, Andrey Sitnik notifications@github.com a écrit :

We do not support buildless environment because I think they are bad for user performance

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ai/audio-recorder-polyfill/issues/55#issuecomment-620729691, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANAR2MY5US4PYOEXFNUKTWDRO4C23ANCNFSM4MS73LCA .

ai commented 4 years ago

We do not have a CDN option right now. You need to build the library to use it. Even if you use default WAVE encoder.

madeInLagny commented 4 years ago

Okay, thanks. I built the library. I suppose that I need to import test/demo/build/build.js to use it ? How do I import mpeg-encoder in my built version ?

Le mar. 28 avr. 2020 à 20:20, Andrey Sitnik notifications@github.com a écrit :

We do not have a CDN option right now. You need to build the library to use it. Even if you use default WAVE encoder.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ai/audio-recorder-polyfill/issues/55#issuecomment-620775237, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANAR2M5M3V7JAIOA47NF7PDRO4M73ANCNFSM4MS73LCA .

ai commented 4 years ago

Here is the code example https://github.com/ai/audio-recorder-polyfill/blob/master/README.md#mp3