Page 1 of 1

How can I use Cambozola with ZoneMinder?

Posted: Thu Mar 16, 2006 2:21 pm
by GabiAPF
Sorry if this is a stupid question, but I've read the README and haven't found the answer, and it doesn't seem to be in the FAQ either, as if it was supposed to be obvious. Maybe it is, but for some reason I can't see it.

The Cambozola readme says:
The HTML snippet for a Netscape-readable page would be as follows:

<img src="/cgi-bin/w3cam.cgi?refresh=0.0" width="352" height="288">

The equivalent HTML snippet using the Cambozola viewer is:
.
<applet code="com.charliemouse.cambozola.Viewer" archive="cambozola.jar" width="352" height="400">
<param name="url" value="/cgi-bin/w3cam.cgi?refresh=0.0">
</applet>
I get that, what I don't know is the following: what is the value of the URL when the input comes from ZoneMinder? Because the URL that ZoneMinder gives me is http://<server_name>/webcam/cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=100&maxfps=5&auth=54a4e3720895b42f16851600cc6ed5a5&rand=1142517609 but that's dynamically generated and I expect it won't work when accessing it from outside the ZoneMinder controls. What should I do? Sorry again if I'm not seeing the obvious.

Posted: Thu Mar 16, 2006 2:48 pm
by jameswilson
that path will work if your not using any auth if you are add &user=user&pass=pass
making sure they are a valid user

Posted: Thu Mar 16, 2006 2:49 pm
by GabiAPF
Ah, thanks! So I can just ignore the auth and rand portions?

[Edit: it worked! Thank you very much. :)]

Posted: Thu Mar 16, 2006 2:52 pm
by jameswilson
yeah basically the auth is a string generated at login and will timout and cease to function and the rand is to prevent cacheing

Posted: Thu Mar 16, 2006 3:53 pm
by GabiAPF
Ah. Thanks for the info, jameswilson.

Posted: Thu Mar 16, 2006 4:01 pm
by jameswilson
no probs matey, thanks 4 the thanks