Webcam32 has the ability to receive remote requests directly over the Internet or other TCP/IP network. In previous versions of Webcam32, a separate TCP/IP port had to be defined for each service type. This meant a separate TCP/IP port for:
This caused problems for firewall users as each incoming port had to be specially configured for firewall pass-thru. In addition, multiple port numbers had to be managed and when multiple instances of Webcam32 were created, the problem was compounded.
For releases of Webcam32 past V5.0.3, a new solution was added to replace the existing multi-port situation. The usage of this new solution is described in the remainder of this page.
Webcam32 defines a single remote access port used for all remote access requests. To distinguish one request from another, the requestor must supply the type of request to be serviced. Webcam32 supports the following request types:
To request a single frame from Webcam32, point a browser at:
http://For example:
http://127.0.0.1:8888/video/frame
Server Push requests
To request a Server Push stream from Webcam32, point a browser at:
http://For example:
http://127.0.0.1:8888/video/push
Remote Administration requests
To request remote administration from Webcam32, point a browser at:
http://For example:
http://127.0.0.1:8888/admin
Applet requests
To request an applet from Webcam32, point a browser at:
http://For example:
http://127.0.0.1:8888/applet/JavaCamPush.cab
Migrating to V5.0.5 from previous releasesThe V5.0.5 and above versions of Webcam32 radically differ from previous releases in TCP/IP port access. Migration to this new release and technology may require some changes of web pages and other items from previous releases.
Note: If there are versions of JavaCamPush.cab or JavaCamPush.jar in the Webcam32 install directory, they MUST be removed as they contain old versions of JavaCamPush not compatible with the V5.0.5 and above releases. It is vital that these be removed.
Migrating JavaCamPush
JavaCamPush now needs the port number of the control port to be specified on both the codebase line and the URL line.
The old applet code looked like:
<applet code="JavaCamPush.class" codebase="http://archive="JavaCamPush.jar" width="160" height="120"> <param name="URL" value="http:// param name="cabbase" value="JavaCamPush.cab"> applet> The new applet code looks like:
<applet code="JavaCamPush.class" codebase="http://8888/applet" archive="JavaCamPush.jar" width="160" height="120"> <param name="URL" value="http:// 8888"> <param name="cabbase" value="JavaCamPush.cab"> applet> The items in bold show the changes.