Accept HTTP POST or FTP from a web camera?

Aren Cambre

Joined: 2007-09-27
Posts: 58
Posted: Sun, 2008-06-29 04:28

I would like to use Gallery2 to store motion detection-triggered image uploads from an IP web camera. This is the Vivotek IP7139.

This camera supports the following data sharing methods:
*Email
*FTP
*HTTP--but this is a weird one. It uses a POST, not a WebDAV PUT.
*Windows network share

It appears that it's not feasible to upload images directly to the storage, so FTP and Windows network share appear to be out of the question regardless.

I saw a thread about an email plugin, but it appears like it's still in alpha stage.

Some searching suggests the only feasible option may be to hack a shim between what Gallery2 expects for HTTP uploads and what the camera's HTTP POST actually provides. I did a view source on the upload form browser page, and it requires a lot of form fields that the camera would not be able to support.

I can't have Gallery2 pull images from the camera; I have to depend on the camera's motion detection algorithms to determine when to push.

Are there any other methods I am not considering?