Our company manufactures machinery and we would like an app to assist us in remotely diagnosing rare intermittent faults using video without streaming large amounts of data. The app should be continually recording video to a circular buffer of around 30 seconds. The app should continually be checking a designated webpage (at ~3 second intervals). When the last line of the webpage changes, the app should save the PREVIOUS 30 seconds from the buffer and save it to the device (ideally an android phone) with a filename based on the last line from the webpage. The app should also act as a webserver, such that when the device (which will have a fixed wifi ip address) is access from a browser, a webpage containing thumbnails and filenames which link to the associated videos.