When the RTMP source stream disconnects and reconnects, ffmpeg gets into a bad state. To fix, SSH into ipfs-server:
tail -f process-stream.log # Confirm the log has stalled for 30 s
tail -f /var/log/ffmpeg # Verify ffmpeg is outputting lots of error messages
systemctl restart process-stream.service # Restart stream processing
tail -f /var/log/ffmpeg # Verify ffmpeg is back to normal
When the RTMP source stream disconnects and reconnects,
ffmpeg
gets into a bad state. To fix, SSH intoipfs-server
: