Fetching JPEGs
in SecuritySpy
Hello,
I'm fetching jpegs from SSPY with something like :
http://u:u@localhost:8001/image?cameraNum=6&width=1280&height=720
When the cam goes offline (its a wifi cam), the url just return 404
Is there a way to still return a Jpeg (with the error code for example) ?
Thanks :-)
Comments
-
I'm afraid not - this has always been the behaviour, and it makes sense to us - the camera is offline so a "resource not found" reply seems appropriate. I hope you can use the 404 reply and provide some nice feedback that suits your purposes - if this is for a web page, then this can be done in JavaScript fairly easily.
