How to record audio in Elm?

Is there any idiomatic way to record a user’s microphone in Elm? I tried to find some potential solution but for now, I have a very hacky option to use WebRTC that seems like overkill. Any example will be helpful.

You’re going to have to use ports, but use The Media Capture API and the MediaRecorder API (will on work on Firefox, chrome and safari, and the upcoming chrome-based Edge)

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.