tomeshnet/ipfs-live-streaming

ffmpeg errors when RTMP source stream disconnects

Closed this issue · 1 comments

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

Resovled when we dropped FFMPEG and rely on nginx to generate initial HLS chunks
#76