Difference between revisions of "ICamviewRelay"

From ZoneMinder Wiki
Jump to navigationJump to search
m (additional line to show how to use with zoneminder)
Line 16: Line 16:


[http://www.icamview.com http://www.icamview.com]
[http://www.icamview.com http://www.icamview.com]
this works perfectly..! with the following entry in the Remote Host Path /icamviewrelay?cam=01

Revision as of 16:08, 7 February 2008

This is a small application that can be used to allow an ICamview to be used with Zoneminder.

There are 2 methods of getting images out of this. You can do jpeg grabs by sending a url, but it redirects you to a login page the first time you try to access the image and it's not any kind of standard http login method, so I gave up on that.

To get streaming images it uses udp, and a little bit of playing about with ethereal let me work out the protocol well enough to knock up a relay app that gets jpegs using the udp method and sends them out as an mjpeg stream. You can then connect to the relay as if it were a network camera. Unfortunately (depending on your point of view) it's written in java as that's what I do for a living and I haven't had time to relearn C and all the sockets/threading stuff. If anyone wants to port it to C then feel free, but please post it back here so I can use it!

usage is:

java -cp . ICamviewRelay <icamview ip addr> <icamview port> <fps> <local server port> <icamview user> <icamview pass>

to compile it:

javac -cp . ICamviewRelay.java

ICamviewRelay.java

http://www.icamview.com


this works perfectly..! with the following entry in the Remote Host Path /icamviewrelay?cam=01