![]() This is the original reason why I was confused. So, i'm wondering why accessing the final image address from the browser ( is giving out a 404. SWebCam = string.Concat(" cConfig.WebcamIpAddress, sTmp) I got this working, parsing the image tag inside the html, and sending a second "GET" request: sWebCam = String.Concat(" cConfig.WebcamIpAddress, "/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=&pwd=") ![]() I can't see what is going on "behind the scenes" to get the image above all, I don't know how to get the "raw" image JPG in C#. Now, the point is that if I point to the image address: I get a 404 - Not found error. Log in to the local router and check if the firewall is enabled. Check the device (DVR, NVR, or IP camera) Internet connection. Now, this new camera is providing a "HTML page" as the response, containing the image link as an embedded img tag: To fix the error, follow the steps below. ![]() Programmatically, I've been using in the past another camera, providing the ("raw") JPG image as the response: using (WebClient client = new WebClient()) I'm using the following address: and this works fine from the browser, showing the image snapshot. I'm trying to get a snapshot from my Foscam FI9816P camera. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |