Every so often I'll see this in my logs, whatever is happening at that packet corruption is enough to throw the entire stream - it'll keep trying to send the same element again and again but I guess it can't because it's in the past so the connection just dies. I believe at the end of the show, it's able to then work itself out and restart at that new point, but it would be neat if there was a way of just continuing it faster than that.
Command I'm using to stream:
ffmpeg -rtbufsize 100M -i http://192.168.1.5:8080/stream/channels/907.m3u8 -x264-params keyint=48:min-keyint=48:scenecut=-1 -c:v h264_videotoolbox -b:v 4M -c:a aac -f flv rtmp://live.twitch.tv/app/live_xxxxxxxxx
It's the same I use with ersatz and I can generally walk away from it and let it keep itself up and when it trips it reconnects pretty quickly, although it's with music videos so maybe it's due to the program lengths there. I find with Tunarr at the moment it can run for a bunch of hours then something trips it, not too much an issue at the end of a show but a shame if it's near the beginning of something that'll run for a few hours.