Found bug in ACTi firmware 5.0x, affects KCM-7111 cameras

Forum for questions and support relating to the 1.24.x releases only.
Locked
vivalibre
Posts: 1
Joined: Mon Jul 02, 2012 11:30 pm

Found bug in ACTi firmware 5.0x, affects KCM-7111 cameras

Post by vivalibre »

Hi all,

I bought a few ACTi cameras to add to my existing Zoneminder 1.24.4 installation running on CentOS 5.6 64-bit. I compiled ZM from source and added ffmpeg. I have existing, working Apexis and Axis cameras already working, all as MJPEG streams.

My new TCM-1231 bullet cams worked great out of the box, but the KCM-7111 cameras would not work with ZM! I would get a black box and no video. Strangely, I could get the MJPEG streams to appear fine in Chrome, Firefox, Opera and VLC.

In the log files, I finally found the clue that gave me the answer ... I hope this post saves others a lot of trouble! The line was

Code: Select all

Jul  2 17:24:06 amp zmc_m8[24998]: ERR [Found unsupported content type 'image/jpeg ']
That's right ... the camera is sending an extra space after the content-type, and ZoneMinder is not tolerant of that extra whitespace.

I made a small kludge to three lines in zm_remote_camera_http.cpp to accept the extra space as a valid content type identified as a JPEG stream, recompiled, and re-installed ... and now it's working great. I also wrote to ACTi to explain the bug in detail, but who knows if they will do anything.

Should I submit a bug request to ZM to make it tolerant of extraneous whitespace around the content-type in http streams?

Andrew White
Utila, Honduras
Locked