Need Help with IP Web CAM Re-broadcasting
I have an Orite IP-CAM, a standalone CMOS camera with a webserver built-in. It plugs directly in to router and sends motion JPEG images to any client on the net. Unfortunately the built-in webserver can only support several users and I need to support more, hence an re-broadcasting solution.
The camera can basically do 3 things to stream motion JPEG:
1. User opens a browser and download a Java Applet to receive JPEG images and control the camera - the most common (but I can't use this, since I can't have everyone connect directly to the camera…) Here's a camera demo site: http://18.104.22.168
2. User configures the FTP settings on the camera to upload to a JPEG image to FTP server, and user can open a web browser and view the JPEG images on the server. There are two issues with is:
- a) The camera automatically creates a directory and inserts a time stamp in the filename. This means that I have a file for every single frame of image.
- b) I can get a java script to refresh the image, so only the last image is displayed, but since the filenames has timestamp, I don't know the filename of the last image.
-3. The manufacturer makes available a CGI script on the camera to automatically stream out the motion JPEG, http://22.214.171.124/GetData.cgi, but when I talk to my ISP, they don't have a ready solution to call this CGI script and save to a JPEG file.
Possible solutions, perhaps you can provide:
Streaming method #1: They call this Java Applet, but can we setup a proxy server to work as if was the camera?, i.e. re-broadcast the exact stream?
Streaming method #2: They call this the FTP push, can you either:
- a) write a client script to find the last file written to the directory or
- b) write a server script to copy the last file written to a "static" file name
Streaming method #3: They call this the JPEG push, can you either:
- a) write a server app to call the CGI and save to a static JPEG file or
- b) write a server app to call the CGI and stream as an AVI file
If all possible, I would like to stay away from use of dedicated servers to keep my cost down. I really don't need any storage because none of the streams will be saved.
Please let me know if you can help, and I'm willing to pay a reasonable price for the development work.