NetworkCam Manual

NetworkCam Manual

View the latest version of this manual online at


This manual is best viewed online.


It would be easiest to get your webcam broadcast working with the server and client software that came with your webcam, then only once it is working, flip over to NetworkCam client so you can enjoy its special rate control features. At least get it working to the point where you can view the images in your browser by clicking reload manually to refresh before you start fooling around with NetworkCam.


What Do You Need?

You need some basic familiarity with HTML, webservers, URLs (Uniform Resource Locators), zip files, jpgs, Applet tags and uploading to websites. You don’t need any knowledge of Java. If you don’t have that, find a friend who does and bribe him with a nice dinner to get this set up for you. It is not at all hard for someone who knows these basics.

You need some sort of webcam and software to serve (broadcast) jpeg, gif or png pictures over the Internet using HTTP (Hypertext Transfer Protocol) : protocol. NetworkCam presumes some other software is already handling that.

To use it, you must compose an HTML page with some embedded commands in it that control how fast you want the pictures to refresh.

Your webserver automatically sends a copy of the NetworkCam Applet jar to anyone wanting to view your stream. All they need do is browse your webpage to trigger this. The Applet runs in the viewer’s browser, and automatically fetches pictures at the rate you specify.

You need to upload a piece of html similar to the following example and also the networkcam.jar file to your website using at FTP (File Transfer Protocol) uploader (unless, of course, it your webserver is running on your local machine.)


Typical HTML looks like this to access your camera stream and display it in a browser.

What is all this gobbledegook?

Most of this, you don’t need to understand, just copy exactly as is.
HTML Tag Meaning
archive=networkcam.jar This tells the browser where to look for the Java Applet program. The browser will look for the usual signed version in networkcam.jar or if you want to use the special signed version for experimenting you would specify unsignednetworkcam.jar.
width=320 Means you want an image 320 pixels wide. Use the same magnification factor you used on height or the aspect ratio will be distorted and the image will look stretched. Note, you have to specify the height in two places, once for Java and once for people who don’t have Java.
height=240 Means you want an image 240 pixels (dots) tall. It works best if you pick a number the same size as your original stream. If you want to magnify, it works best to pick a height twice or 1.5 times as big as the original. If you want to shrink, it works best to pick a size half as big. Magnifying gives fuzzy images. Shrinking transmits much more slowly than sending a small original would. Your camera software may give you the option of simultaneously broadcasting several sizes. You can flip back and forth by changing web pages. Note, you have to specify the height in two places, once for Java and once for people who don’t have Java.
<param name=CameraName value=Times Square> Optional name for the webcam.
<param name=quiet value=no> Turn on frog sounds to let you know when a reload is happening. Each camera on the page uses a different frog sound so you can tell them apart. Set quiet=yes to turn off the sound. By default quiet=no
<param name=RefreshFast value=5> This says you want the pictures to refresh every 5 seconds at first. If you leave this parameter out entirely, 10 is the default.
<param name=RefreshTimeout value=30> This says you want to pictures to refresh at the fast rate for 30 seconds before reverting to the slow rate. If you leave this parameter out entirely, 30 is the default.
<param name=RefreshSlow value=60> This says you want to pictures to slow down and refresh every 60 seconds after a while. If you leave this parameter out entirely, 120 is the default.
<param name=Image value=> This is the URL (Uniform Resource Locator) of the camera stream. Normally, it will be your website where the stream originates and the directory where the networkcam.jar also lives. Technical note: you cannot access a stream on a server other than where the jar originated from unless you use the signed version of the jar. Note that you have to specify the URL twice, once for Java users and once for non-Java users.
<param name=Flip value=no> Do you want the image inverted top to bottom? Normally omitted. It is not that you might want to view images upside down, but that you might want to correct images broadcast improperly.
Normal Flipped
Normal image Flipped image
<param name=Mirror value=no> Do you want the image reversed left to right? Normally omitted. It is not that you might want to view images mirrored, but that you might want to correct images broadcast improperly.
Normal Mirrored
Normal image Mirrored image
<param name=Rotate value=0> How much do you want the image rotated, in degrees. +ve is counter clockwise, -ve is clockwise (the mathematical convention). Normally omitted. It is not that you might want to view images rotated, but that you might want to correct images broadcast improperly.
Normal rotated 90 rotated -90
Normal image rotated +90 image rotated -90 image
normal rotated 180 rotated -180
Normal image rotated +180 image rotated -180 image

Use Without The Internet

You can also use this program without the Internet on a single machine or on a LAN (Local Area Network). Your URL will look a little different:
where E: might be a local or remote mapped drive. Or perhaps using the physical IP (Internet Protocol) address:
If the Applet jar is not in on the same machine as where the stream is coming from, you must use the signed version of the Applet.

Multiple Streams Per Page

Just repeat the whole section from <applet to </applet> with different sizes, and streams. You might arrange them in a grid using the HTML table command. See The HTML cheat sheet for basics on how to decorate and arrange your web page.

If you have many streams visible on many pages, only the streams currently visible on screen are actually pumping any data. All the others scrolled offscreen or on other pages are automatically suspended. They automatically restart when you bring them back into view.

Signed Or Unsigned?

There are two versions of the Applets included networkcam.jar and unsignednetworkcam.jar. One is the usual unsigned Applet. It has the restriction it can only view streams originating on the same machine the jar was loaded from. The signed version bypasses that restriction. However, you must click GRANT to give the Applet the privilege to do this unusual thing that ordinary Applets are not permitted to do. The signed version is slower to start up since Java goes through extra security checks when it loads it.


You can test using the signed version of the jar with other people’s streams. You can check if these links are working by just viewing them manually and clicking reload manually to see if the images change from time to time. The links you want are ones you can view without software, that look like ordinary JPG images to your browser. Only bother testing with known good links:
Sample JPG Streams
URL Size Notes Many different web cams. You don’t want the flash cams or the ones with continuous motion. 474 × 328 6 eagle cams. I have not experimented to see how to corfigure NetworkCam to directly use their. Their own viewer is quite complicated and needs javascript. 1024 × 768 Burrard Street Bridge, Vancouver. Shows traffic. Normally only updated every 5 minutes.
you can find thousands of others just by searching for webcam and some city name. The provider of the image just keeps posting a slightly different version of the *.jpg file from time to time. There is no stream protocol. The Applet just samples the source on a regular basis. Ideally, you don’t sample it faster than the source changes it. There is no special notification when the source changes the image. There is no RTP or MP3 stream support.

If you are curious to see what is doing, watch the debugging output on the Java console.

Hooking Up to Other People’s WebCams

Other people won’t necessarily tell you the magic parameters you need to make their camera work with NetworkCam. They may even go to considerable effort to stop you from finding out how out using unmaintainable coding techniques.

Using the Opera browser you can right click the image then click image properties. That will tell you the URL of the image and also its size and whether it is a JPEG (Joint Photographic Experts Group). If you right click the image then click copy image address it will copy the URL to the clipboard. You can then paste it onto the browser command line for a test. If all goes well, repeatedly reloading that URL manually will eventually change the image. The owner of the camera may foil you by requiring that you use a different URL every time to get the picture using some secret formula based on the date and time. In that case, you are S.O.L. Sometimes, the same URL will work for a while then stop working. These are all ways they are using to try to stop you from using their webcam. Take a hint.

Other times right clicking the image does nothing. This is usually because they are already using a Java Applet of their own similar to NetworkCam. In that case you will either have to use a packet sniffer such as Wireshark to find out the URL by looking for HTTP GET packets going from your browser to the server, or dig around in the HTML source with View Source looking for likely URLs or URL fragments.

If you are viewing other people’s webcams with your NetworkCam software, it is impolite to refresh faster than they would with their software. It is also foolish to ask NetworkCam to refresh faster than the image actually changes. It just wastes bandwidth. The owner of the webcam has to effectively pay their ISP for every refresh sent out, and likewise you pay your ISP. If you waste too much bandwidth, your ISP may kick you up into the next more expensive category.

If you are viewing your own webcam, or letting others view it with NetworkCam, it is much simpler. You know the magic parameters, and you have complete control. You further don’t need to use the signed version, since the Applet typically gets its feed from the same server it was loaded from.

Warnings and Troubleshooting

  1. This program is for non-military use only.
  2. If it does not work, check the Java console for error messages. You can turn on the Java console either in browser preferences or in the Windows Control Panel under Java plug-in.
  3. If you have a slow connection, you may notice the refresh appears to be somewhat slower than you requested. This is because it waits 10 (or whatever you configured) seconds after finishing loading one image before starting the next. If it took 5 seconds to load on average, it would take then 15 seconds before you saw the next image. This way it never tries to refresh faster than the communication line can keep up.
  4. If you refresh too fast, or click too fast, you may not see images changing as fast as you would like because the server may only be able to produce images at some given rate. There is no point it trying to refresh the images faster than they are produced. Every time you click, NetworkCam obediently abandons the current background refresh download and immediately starts a fresh one. If you were to click frantically and continuously, it would never get a chance to finish a download, and you would never see any changed images until you stopped clicking.


NetworkCam is free.


NetworkCam source and compiled class files to run on your own machine as an Applet.

1.6 2007-04-19 free Java
more infoprecismanualscreenshotbrowse source repository
for the current version of NetworkCam.
Applet to display a webcam or security camera image stream.
download 429K zip for NetworkCam Java source, compiled class files, jar and documentation to run on your own machine as an Applet.

Runs on any OS that supports Java e.g. W2K, XP, W2003, Vista, W2008, W7-32, W7-64, W8-32, W8-64, W2012, Linux, LinuxARM, LinuxX86, LinuxX64, Ubuntu, Solaris, SolarisSPARC, SolarisSPARC64, SolarisX86, SolarisX64 and OSX.

First install the most recent Java.

To install, extract the zip download with WinZip, (or similar unzip utility) into any directory you please, often J:\ — ticking off the use folder names option.

To check out the corresponding source from the Subversion repository, use the TortoiseSVN repo-browser to
access networkcam source in repository with [Tortoise] Subversion client on

download ASP PAD XML program description for the current version of NetworkCam.

$1989.00 US donated so far. If the CMP utilities solved your problem, please donate a buck or two, or donate to one of the charities featured in the footer public service ads throughout the website and get a tax receipt.

NetworkCam is free. Full source included. You may even include the source code, modified or unmodified in free/commercial open source/proprietary programs that you write and distribute. Non-military use only.

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.
no blog for this page
Your face IP:[]
You are visitor number