TailDCERouter.sh gave no clues, it looks just like it should, no errors.... just a bunch of Get Video Frame.
08 06/11/09 8:45:13.636 Received Message from 46 (Generic Proxy Orbiter / ) to 136 (DCS-5300G / Patio), type 1 id 84 Command:Get Video Frame, retry none, parameters: <0x727fbb90>
08 06/11/09 8:45:13.637 Parameter 20(Format): jpg <0x727fbb90>
08 06/11/09 8:45:13.637 Parameter 23(Disable Aspect Lock): 0 <0x727fbb90>
08 06/11/09 8:45:13.637 Parameter 41(StreamID): 0 <0x727fbb90>
08 06/11/09 8:45:13.637 Parameter 60(Width): 627 <0x727fbb90>
08 06/11/09 8:45:13.637 Parameter 61(Height): 379 <0x727fbb90>
07 06/11/09 8:45:14.656 Event #75 has no handlers <0x871cfb90>
Any other ideas? is there a way to check to make sure that LMCE is actually logging into the camera? I have gone to the ip address I listed in the template to verify there is a jpg image there and it is... this shouldnt be all that hard!
Here is the Ruby code that the template uses for Get Video Frame
conn_.Reconnect()
auth_s=device_.devdata_[114]+":"+device_.devdata_[115]
auth_a=Array.new;
auth_s.each{|c| auth_a.push(c)}
fix_path=device_.devdata_[2];
fix_path='/'+fix_path if(fix_path[0]!='/'
s = "GET "+fix_path+" HTTP/1.0\r\n"
s+= "Accept: */*\r\n"
s+= "Authorization: Basic "+auth_a.pack("m").chop+"\r\n"
s+= "\r\n"
conn_.Send(s)
recv=""
while(true)
buff=conn_.Recv(16384, 5000)
if(buff.length() == 0)
break
end
recv = recv + buff
end
if (recv=~ /^HTTP[^\r\n]+200\sOK.+?\r\n\r\n(.+)$/m)
fileName="/tmp/ip_camera_img"+device_.devid_.to_s
imageFile=File.new(fileName+".jpg",'w')
imageFile.print $1
imageFile.close()
system("/usr/bin/convert "+fileName+".jpg "+fileName+".png");
size=File.stat(fileName+".png").size
imageFile=File.new(fileName+".png",'r')
img = imageFile.read(size);
imageFile.close()
data_set(img)
format_set('png')
end
-Krys