If the camera runs on a separate network to which you don't have access to, the script wouldn't work.