Jump to content
Steve Evans

Java client for AvTech DVRs

Recommended Posts

I am surprised that Steve's AP did not work with your DVR if it does use Video Server E.

 

My app is the java applet from the web page with an application wrapped around it to provide the buttons etc. It's not based on Video Server E, and it is entirely possible that Video Server E has broader support. That makes sense as the applet on which my application is based would normally only be run for my specific machine, and so should only be expected to support it, whereas Video Server E would need broader compatibility.

 

Steve

Share this post


Link to post
Share on other sites

Your DVR is an AVTech DVR model number AVC 777. If it has an internet connection then it would be the AVC 777W.

 

Thanks for helping me figure this out! I now have a much broader set of options. It turns out that I didn't read all the 16ch documents that you had on your site and didn't get to this particular one. It does have internet connection, btw.

 

I tried video viewer, but it doesn't seem to work. I get a "login failed" error. Because of all the changes you mention, I wouldn't be surprised if AVTECH did some specific change at the request of Lorex.

 

This means that Steve's app is recognizing the DVR at initialization, but gets confused later. It may be because of the number of the channels. I have yet to figure out all the details, but I'm working on it. It helps to know what I'm working with

Share this post


Link to post
Share on other sites

My app is the java applet from the web page with an application wrapped around it to provide the buttons etc. It's not based on Video Server E..

 

Steve, yes, I am aware of this, but technically it should work with all the DVRs you listed earlier. Mine is on that list.

 

Just for kicks, I extracted the java app from my machine, and decompiled it. It turns out that, aside from some parameters and function name differences, the main app is very similar to yours. AVTech seems to use the same app for all of its java-based DVRs.

 

BTW, Video Server E is just a UI wrapper for the java apps stored on the DVR.

 

Knowing very little about Java (nothing before a couple of days ago), I wanted to leverage what you had done. My ultimate goal is get this to run on my Windows Mobile phone as a Midlet. Of course, this is just for fun, so I'm digging into it as I get free time.

 

Thanks for getting me closer to this goal!

Share this post


Link to post
Share on other sites

Any chance the source is available ? I'd be interested in extending it for my 16 channel DVR.

 

Thanks

 

Dobbs

Share this post


Link to post
Share on other sites

scorpion,

 

I've tried all the applets from that site. Here are my results:

 

* EagleEyes (J2ME) gives me a blank screen after I create a login profile and click on it. No error message, no anything.

* EagleEyes (J2ME New version) says: "java.lang.NoClassDefFoundError" when starting it up

* EagleEyes (For WinCE) gives "The network is failed!!" upon trying to connect to the DVR

* EagleEyes (For WinCE New Version) gives "Login Failed!" upon trying to connect to the DVR

* Supervisor (aka GPRS/3G software) doesn't install for security reasons. It says "permission javax.microedition.io.Connector.socket is not available on this device"

 

I got a hold of the source code for EagleEyes (by decompiling it.) It looks like it's only for IP cameras. All device references in the code are for "IPCamObject." However, it also seems to use 16 small icons. I presume it's to reference channels 1-16 on the UI. Are you sure this is supposed to work with a DVR? If so, I can try debugging it.

Share this post


Link to post
Share on other sites

D0bb1n

 

Steve's code is supposed to work on 16 channel systems also. He's got a pointer to the source in one of his earlier replies. check it out. However, since it doesn't work on my 16ch 777w, I'm trying to figure out why. Which model do you have? If you can figure it out before I do, let me know.

Share this post


Link to post
Share on other sites

I have downloaded your java app and I ran it in Ubuntu 9.04 64 bit.

I must say that it starts very fast but the problem is that my cpu load is very high and for a laptop is that a bad thing.

 

That's what I had to say.

 

CPU Intel P8400 @ 2.26 GHz

4 Gig Ram

Share this post


Link to post
Share on other sites
D0bb1n

 

Steve's code is supposed to work on 16 channel systems also. He's got a pointer to the source in one of his earlier replies. check it out. However, since it doesn't work on my 16ch 777w, I'm trying to figure out why. Which model do you have? If you can figure it out before I do, let me know.

 

The software works with Video Server E.

 

Does your 777W use Video Server S?

 

If you are using Video Server S then Steve's AP will not work with your 777W.

 

If your 777 uses Video Server E, then Steve's AP should work.

 

It also might be that you do not have the chipset that the AVC 785, and 787 uses?

Share this post


Link to post
Share on other sites
I have downloaded your java app and I ran it in Ubuntu 9.04 64 bit.

I must say that it starts very fast but the problem is that my cpu load is very high and for a laptop is that a bad thing.

 

Video Server E runs fine as-is in Ubuntu using the Wine Windows emulator.

Share this post


Link to post
Share on other sites

I, too, suffered from the java issue having uploaded to Snow Leopard. The one item I have on my wish list is for an iphone app for this.

 

The EagleEyes app from AV TECH continues to give me login failures. I have a feeling this is because I've got more than 1 camera assigned to the DVR and IP address I use.

 

Thanks again!

Share this post


Link to post
Share on other sites

Steve,

 

There was a Snow Leopard update last night that has now broken my link with CCTV. All it does is says CCTV has unexpectedly quit. I also tried deleting and downloading again. I attached a pdf with the details from the error message in case that helps.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×