If the stream won't restart after a stream failure, you may need to find an auto restart method, perhaps a camera reboot. To see if a reboot will correct it, power off the camera, wait a minute, and power on. That will cause a reboot. If that works, you could try setting up a script to...