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.
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.