FFmpeg closed with code 1 and signal null no reason
ReArno opened this issue · comments
After a certain time, the FFmpeg process closes with code 1, the mux live stream will be disconnected, and the asset will be created, but the MediaRecorder sends the data continuously.
Im using a canvas, a MediaRecorder object, then a WebSocket NodeJS server. I send the recorded data to the MUX with FFmpeg. It works for approximative 1 minute.
If the MediaRecorder somehow stops (tab focus lose), then the FFmpeg process immediately stops, with this code 1.