WebServer
The WebServer module allows you to view images being processed by RoboRealm over the web using a regular
web browser. The webserver within RoboRealm is off by default and needs to be turned on before becoming active.
To activate the RoboRealm WebServer select the checkbox in the options dialog as seen below. You can
view this interface by clicking on the "Options" button in the main RoboRealm dialog.
Activating the WebServer RoboRealm will transmit images over a TCP/IP network using port 8080. To
connect to these images (after activating the webserver) point your browser at http://localhost:8080/ or
use your machine name in place of localhost if you are accessing the images remotely.
Images are transmitted using an MJPEG encoding to a Java applet running within your web browser. Alternatively,
if you are using FireFox or other MJPEG compliant browser (this does NOT include IE) you can access the
image stream directly using http://localhost:8080/mjpeg.cgi This allows you to connect the video stream
to other streaming systems that are typically used with Internet WebCams that stream their video
also using an MJPEG format.
The webserver is configured to only return 4 files. Those files are located in the RoboRealm directory
that you unzipped RoboRealm into. The following are the files returned and their usage:
- index.html - contains the HTML for the Java applet and is returned on initial contact to the webserver. The page is very simple and
only contains the needed Java applet code to configure the browser to contact RoboRealm and start streaming video.
- favicon.ico - the favicon is the icon used when bookmarking or indicating the link type in many web browsers.
- RoboRealm.class - the actual Java applet class returned to the web browser to start streaming.
- mjpeg.cgi - this is a virtual filename that does not exist on the file system but instead signals to
the webserver to start streaming.
Note that the RoboRealm WebServer is NOT intended as a replacement for industry standard webservers such as Apache or IIS
and therefore does not have any additional functionality other than basic video streaming.
|