?
Solved

Connect to IP Camera using Java

Posted on 2016-08-19
4
Medium Priority
?
540 Views
Last Modified: 2016-08-20
Hello there,

How can I connect to a IP camera and get its live view from Java.

cheers
Zolf
0
Comment
Question by:zolf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:Dr. Klahn
ID: 41763510
IP camera protocols are tightly dependent on the camera model and manufacturer.  There's no universal or even widely accepted standard, so every manufacturer does what they think looks best and it varies all over the place.  See the manufacturer and camera list for the open-source ISpy product to get an idea of the magnitude of this issue.  Some stream binary, some stream in browser-compatible formats and some are proprietary.

imo, this can be done if you know the specific protocol for the specific camera and manufacturer ... but it'll be a one-off solution, and it will soon become obsolete when the manufacturer stops making that specific camera or upgrades the firmware.
0
 

Author Comment

by:zolf
ID: 41763535
Thanks for your feedback. The camera I am using is SICK Lector620OCR.
0
 
LVL 29

Accepted Solution

by:
Dr. Klahn earned 2000 total points
ID: 41763923
Unless the manufacturer will release the protocol specifications to you, you'll have to reverse-engineer the camera communication protocol.  Some manufacturers will release that information and some won't, and since you'll have to start with their customer support it might be difficult getting connected to a software engineer who can tell you what you need to know.

Reverse-engineering the camera communication protocol is tedious, but not overly difficult.  It can be done by loading network monitoring software on a separate PC on the network and setting that system to monitor all traffic (both TCP and UDP) to and from the camera.  Then look over the traffic as packets and reverse-engineer the protocol.  (It may take a couple of weeks to figure out the necessary commands and what the camera is returning.)  At that point you'll have the information necessary to write a Java applet that talks to the camera.
0
 

Author Closing Comment

by:zolf
ID: 41764057
cheers
0

Featured Post

Quick Cloud Training

Looking for some quick training on the cloud in 2 hours or less? Check out these how-to guides in AWS, Linux, OpenStack, Azure, and more!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question