tomeshnet / ipfs-live-streaming

Like HTTP live streaming, but with IPFS which is maybe better?
GNU General Public License v3.0
449 stars 74 forks source link

ffmpeg errors when RTMP source stream disconnects #45

Closed benhylau closed 5 years ago

benhylau commented 6 years ago

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
darkdrgn2k commented 5 years ago

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

76