A MediaRecorder polyfill (for Safari) with MP3 (audio/mpeg) encoding support
MediaRecorder()
mimeType
ondataavailable
onerror
onpause
onresume
onstart
onstop
state
stream
isTypeSupported() audio/mpeg is the only supported MIME type.
pause()
requestData()
resume()
start()
stop()
dataavailable
error
pause
resume
start
stop
<script>
if (!window.MediaRecorder) {
document.write(decodeURI('%3Cscript defer src="/path/to/dist/polyfill.js">%3C/script>'));
}
</script>
https://github.com/ai/audio-recorder-polyfill
https://github.com/zhuker/lamejs