The Foscam FI8921W IP camera is small, cheap, controllable, colour, HD IP camera.
Highlights:
Resolution | 1280x720 (720p) and 640x480 (VGA) |
night vision | infra-red illumination |
ethernet | wired 100Mbps or WiFi with WEP, WPA or WPA2 |
interface | Web interface and CGI API |
With firmware updates the Foscam FI8921W can support MJPEG and RTSP video streaming.
Download Firmware
Go to the following URL, fill in your name and email address and an automated email will be sent. Click on a link in that email and another email will be sent with links to the latest firmware versions.
http://foscam.us/firmware.html
RTSP
Main stream (follows the configuration in the Web GUI)
rtsp://USER:PASS@HOST:PORT/videoMain
Sub stream (defaults to a 256Kbps VGA size h.264 stream)
rtsp://USER:PASS@HOST:PORT/videoSub
CGI API
Download the complete CGI API from the following URL:
http://foscam.us/forum/cgi-sdk-for-hd-camera-t6045.html
Download the zip file attached to that page, unzip it, and read the "Foscam IPCamera CGI User Guide" PDF inside, but here are some highlights:
Enable MJPEG
Note: Enabling MJPEG streaming will disable the RTSP sub-stream, or rather, the RTSP videoSub will be exactly the same as the RTSP videoMain.
Replace HOST, PORT, USER and PASS with your Foscam FI8921W hostname or IP address, HTTP port (default is 88), and the username and password of a registered user ('admin' with no password being the default) :
curl "http://HOST:PORT/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&format=1&usr=USER&pwd=PASS"
Protect your Foscam: proxy with Apache
You don't want your Foscam FI8921W to be directly available on the Internet, do you? So, why not protect it behind an Apache reverse proxy server.
Replace HOST, PORT, USER and PASS with your Foscam FI8921W hostname or IP address, HTTP port (default is 88), and the username and password of a registered user ('admin' with no password being the default):
ProxyRequests Off
<Proxy http://HOST:PORT/>
ProxySet connectiontimeout=5 timeout=4
Order deny,allow
Allow from all
</Proxy>
RewriteEngine On
RewriteRule ^/foscam/image.jpg$ http://HOST:PORT/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=USER&pwd=PASS [P]
RewriteRule ^/foscam/video.jpg$ http://HOST:PORT/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=USER&pwd=PASS [P]
Wireless Setup
How to setup IP camera wirelessly
http://foscam.us/forum/post15934.html#p15934
Test and Tweak IP Camera Setup and Configuration
Make sure your IP Camera is functioning at peak ability
http://foscam.us/forum/post34164.html#p34164
Links
http://www.foscam.com
http://foscam.us/forum/free-generic-browser-interface-for-foscam-fi9821w-cameras-t4341.html