I have many livestreams running for myself and for customers. Several have been running continuously for over a year with no intervention by me. The only way I have found to do this is to monitor the stream and streaming server constantly by using Linux for the server, FFmpeg for the encoding and python scripting to monitor the stream every few seconds. I check the outgoing bps, ping the camera IP address, ping a known good internet address, monitor the power, CPU temperature and housing temperature continuously . Depending on what goes wrong the system will automatically restart FFmpeg, reboot the router or cycle power to the camera. If it can't correct itself quickly then a "We'll be right back" image is streamed to YouTube Live to preserve the live stream so it won't be dropped by YouTube. Then, the system keeps trying to fix itself. If it can't and there is still an internet connection, the python script sends me a text message. In almost all of the live streams this is all done with a cheap raspberry pi 3. My current project is the figure out the YouTube API. I'm hoping this will give me a better way to monitor and control the stream after it leaves the server.