Page 1 of 1
Camzobola streaming problems: error is "no part conten
Posted: Sat May 22, 2004 6:53 pm
by tolmino
....but server is working: If i select one recorded event i can see stills.
i'm using zoneminder_1.19.3 , with the last ffmpeg.
Any suggestion?
Thanks....
Posted: Sun May 23, 2004 9:38 am
by zoneminder
Have you tried using nph-zms instead of just zms in your path?
Phil,
Posted: Wed May 26, 2004 7:14 pm
by maron
This is fixable by patching cambozolas source code, I've done this and fixed the problem, but the resulting jar requires you to have java 1.4.2 installed otherwise it will crash IE. I know how to fix this but haven't had time yet.
pm me with your email and I'll send you a copy.
Posted: Wed May 26, 2004 8:13 pm
by zoneminder
Hi,
I'm curious what it is you change in Cambozola to correct this, can you post a code snippet?
Cheers,
Phil,
Posted: Thu May 27, 2004 12:09 am
by maron
If I remember correctly I just commented out line 217 in CamStream.java and hardcoded the content type in the next line, see snippet below.
Code: Select all
if (ctype == null) {
//throw new Exception("No part content type");
ctype = "image/jpeg";
}
This however is a zm only hack, since I know that zm will be sending me a stream of jpeg images. Also, this is by memory and second review, since I rebuilt the code in my /tmp directory and threw in the new jar file
.
Works fine for me, this also suggests that the content type could be wrong for some images from zm, and cambozola, instead of trying the next image, throws an exception to the UI and stops.
I've been considering some zm specific hacks to cambozola, I would be grateful for any ideas. What I am specially interested in would be a way of flashing the alarming frames somehow, like with an orange border, I know this would take some tweaking to zm as well (sending some kind of info about the type of frame (alarm, idle))... I will of course share any tweaks I make on the forums.
send me a copy, Mr Marone, please....
Posted: Thu May 27, 2004 9:42 am
by tolmino
my mail in
tolmino@tolmino.it
Thanks
i have used the maron version of cambozola.....but
Posted: Thu May 27, 2004 3:00 pm
by tolmino
i can't have stream with Internet Explorer.
I get stram only with mozilla.
Now I don't have any error in cambozola window: i have obtained the "cambozola V0.34" server presentation string that don't go away.
How can i use nph-zms instead of zms?
Thanks...
Posted: Thu May 27, 2004 3:10 pm
by zoneminder
It's ZM_PATH_ZMS in Options->Paths. Just change (for example) /cgi-bin/zms to /cgi-bin/nph-zms
Phil,