I am using a web browser to view cameras on my Mac (since there is no Mac client) so that I can customize the camera matrix layout for my own preferences. I am using Jquery ($.get) to take a snapshot when the page loads, then using the returned libraryID to show the captured image (:8100/Library/id), then using a modal window to show realtime footage (:8100/Mjpeg) when the aforementioned snapshot image from the matrix is clicked on. This works great, but my issue is that when I take the snapshot using the :8100/Json/CapturePicture method, the actual picture is always much older (sometimes minutes) than when it was requested. When I look at the timestamp on the image (created by the Netcam overlay), it is always much older than the timestamp on the image file that is stored in the library folder:
How can I assure that when I take a snapshot using the :8100/Json/CapturePicture method that I can get a realtime image and not one that is minutes prior to the time it was taken?