How can I use Cambozola with ZoneMinder?

Support and queries relating to all previous versions of ZoneMinder
Locked
GabiAPF
Posts: 7
Joined: Wed Mar 15, 2006 12:39 pm
Location: Buenos Aires, Argentina
Contact:

How can I use Cambozola with ZoneMinder?

Post 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.
This is a signature.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
GabiAPF
Posts: 7
Joined: Wed Mar 15, 2006 12:39 pm
Location: Buenos Aires, Argentina
Contact:

Post by GabiAPF »

Ah, thanks! So I can just ignore the auth and rand portions?

[Edit: it worked! Thank you very much. :)]
Last edited by GabiAPF on Thu Mar 16, 2006 3:01 pm, edited 1 time in total.
This is a signature.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
GabiAPF
Posts: 7
Joined: Wed Mar 15, 2006 12:39 pm
Location: Buenos Aires, Argentina
Contact:

Post by GabiAPF »

Ah. Thanks for the info, jameswilson.
This is a signature.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

no probs matey, thanks 4 the thanks
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Locked