Download trial version
Order full version

CamLAN Manual
Part 7: The Webserver

The Webserver

The integrated webserver of CamLAN allows to control all cameras which are running in CamLAN. The webserver sends the video pictures from all cameras by HTTP request. Additional the webserver allows to start an external program.

To run the webserver you have to start the webserver in CamLAN.

If the webserver is running you could send HTTP commands to CamLAN. These commands are interpreted by the webserver. For your convenience there are the following html sample documents included "cam_control.htm", "cam_view1.htm", "cam_view2.htm", "cam_view3.htm". These documents are using JAVA scripts to send the webserver commands to CamLAN.
Open the documents with your Internet browser and see how they work. Try "cam_control.htm" first, which supports to input direct the IP address of your PC. Insert the IP address and port, which are shown in CamLAN (see above). You can open cam_control.htm on your local PC, from a different PC in your LAN or upload it to your ISP webspace and try it from the Internet (Live Camera Sample).

More information about setting up the integrated webserver can be found in the CrazyPixels Forum here and in the First Steps!

Here are all possible commands listed:

Picture receiving:
- first insert the IP address of the PC running CamLAN (the displayed address is an example!)
- then insert the port which you have choosen in CamLAN - then insert the camera number you would control, 1 = the first camera
- then insert the quality of the received video picture. If you want to receive the camera pictures in short intervals it is better to select a low quality
. - if you want, you can select the resolution of the received video picture. If you don't select a resolution, the picture has the resolution of the camera.

Remote commands:

You can control the camera from remote. (starts the preview for camera 1)
(stops the preview for camera 1)
(starts the motion detector for camera 1)
(stops the motion detector for camera 1)
(starts the scheduler for camera 1)
(stops the scheduler for camera 1)
(starts the video recording for camera 1)
(stops the video recording for camera 1)
(captures a picture from camera 1)
(asks the state from camera 1)

If you have choosen to activate/deactivate the remote control by password you have to do this with the following 2 commands: (activates the remote control)
(deactivates the remote control)

Additional you can start all external programs which are available on your system.
The camera number is ignored in this command! After "execute" insert the path to the program on your system.\windows\system32\calc.exe (starts an external program)