Electron MediaRecorder Could not start audio source error

Viewed 11

I have an Electron App which I use to stream videos using MediaRecorder to record and ffmpeg to stream the recording.

I stop my MediaRecorder every 5 seconds and save the webm video to a folder in the app, then I use ffmpeg to stream it, then I restart my recording.

Problem starts when I hit 1.18 minute mark, I get an error saying MediaRecorder Could not start audio source error
when I try to start my MediaRecorder again.

Are there any fixes that can help me?

0 Answers
Related