The implementation of a Java applet and accompaniment C-programs for
receiving video from a remote camera, is described in this
chapter. Due to time constraints, the main focus of the experiment was
on Java programming and setting up and maintaining necessary
connections, rather than doing a clever compressed transfer of image
data. For a snapshot of the applet in action, see
figure 4.4 on page . The
source code
of all programs is available from WWW, and in appendixes.
Appendix B on
page
lists the Java applet source
code of SHHVid.class,
appendix C on
page
shows the video grabber
(vidgrabber) source, while
appendix D on
page
gives the proxy
(vidproxy) listing.
The first section describes the communication across the network between the involved programs. Following that is a description of the simple video data transfer method used. The next section gives a few implementation details, while the final part presents some closing thoughts.