Couldn't wait any longer... Purchased a Foscam FI9821W and now trying to get this working with my existing ZoneMinder 1.25 set up on Ubuntu 11.04.
The FI9821W must be running firmware 1.1.1.11 or higher. I wasted a lot of time trying to make this work only to discover RTSP has only been enabled in firmware 1.1.1.11 which was released 18th March 2013. See official Foscam release notes and download link here -
http://foscam.us/blog/foscamipcameras/f ... v1-1-1-11/
RTSP for the Foscam FI9821W uses the camera's HTTP port and has 3 streams:
1. videoMain - main streaming
2. videoSub - sub streaming
3. audio - audio streaming
The RTSP URL for the Foscam FI9821W is:
rtsp://username:password@ipaddress:port/stream
(e.g.) rtsp://admin:admin123@192.168.1.10:80/videoMain
I have changed HTTP port to 80 via the the camera's web interface settings, as the HTTP port for my camera was running on port 88 instead of 80 out of the box. The Media port is 888 out of the box and i have left it as is.
Here is my current working config:
Source type: FFMPEG
Source path: rtsp://username:password@ipaddress:port/videoMain
Source colours: 24 bit
Capture width: 1280
Capture height: 720
I am not sure if this is normal, but I am not able to set control scripts when using FFMPEG (the Control Type drop down list is empty)... If the source type is set to "remote" i can define control scripts, but i haven't been able to get the FI9821W to work with source type of "remote".
Remote source type config (not working):
Source type: Remote
Remote protocol: RTSP
Remote Method: RTP/RTSP
Remote host name: username:password@ipaddress
Remote host port:80
Remote host path: /videoMain
Remote image colours: 24 bit
Capture width: 1280
Capture height: 720
When i use the above "remote" config i get the following errors in the logs:
- ERR [Unexpected response code 401, text is 'Unauthorized']
- ERR [Unexpected response code 404, text is 'Stream Not Found']
Looks like ZoneMinder isn't authenticating properly with the FI9821W... Is RTSP authentication working in 1.25?
I am starting to work on a control script for the FI9821W - hopefully have this done in a week or two (not much time at the moment)..
CGI/SDK for the Foscam FI9821W can be found here -
http://foscam.us/forum/cgi-sdk-for-fi98 ... t4010.html
Cheers,
John