MuxLabs / wocket

Example of streaming to an RTMP endpoint from a browser via WebSockets

Home Page:https://ws.mux.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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