| Embedding Foscam IP camera video in your own webpage | ||
![]() Supported CamerasI only know with certainty that these techniques will work with the Foscam FI8918W and an unbranded dome webcam I bought on eBay which
produces web pages that look very similar to the Foscam GUI but I expect it should work with any Foscam IP camera plus at least some of
the clones. Video stream in FireFox and Chrome browsersThis also seems to work with Safari running under Windows. Video stream in any browserUnfortunately the video stream method shown above will not work with all web browsers and certainly doesn't with Internet Explorer.
To get video of sorts with IE all that can be done without forcing the viewer to download an ActiveX controls which any security conscious
visitor would decline is to show refreshing snapshots from the camera which will certainly be at a slower frame rate than the 15fps at
640x480 the videostream method produces. Of course for some purposes a non-refreshing still would be perfectly adequate and a slowly
refreshing series of stills will use less of your upstream bandwidth which on many services is quite limited. Embedding camera controlsIt is possible to embed any control supported by the camera into your webpage either with a link or by means of a form.
These are the more common operator control command codes... These two are used to control the LEDs in later firmwares The camera responds to a command with a text string which you can hide in an iframe used as the target for the form or link
used to issue the command. An example command using a link... Here is the complete IP camera SDK which I found. Protecting your bandwidthTo avoid problems with the googlebot accessing your camera you should exclude your pages containing the video camera url from bot access in robots.txt. Unfortunately some clown decided to access my cellar cam directly rather than through the time limited demo and left the page open for several days on their computer. I initially thought that there was a problem with my internet when I found it was slower than normal until I investigated. I now access the camera through php scripts that do not work when accessed directly from the address bar and do not disclose the camera url. Hopefully this will discourage casual hacking and allows me to log accesses and monitor abuse. Bookmark this page Electrical Engineers do it with less resistance.
© Copyright www.DigitalHam.co.uk 2005 - 2012 | ||