Pauline Chevalier

Greenhorn
+ Follow
since Mar 06, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pauline Chevalier

Hello ,
I am a beginner in using socket. I want to connect and send commmand to a module. I have it's ip adress and the port on which it is waiting for commands. Assume that String cmd is the command I want to send to the module.



But the module doesn't receive any command. Can someone help me to understand why?

ps: sorry for my english , I am french
It works now. By adding axis-cgi/mjpg/video.cg at the end of the url, the camera sends me mjpeg stream and the display now is OK
what really matter is thet the url I use corresponds to a web peg but my progrm needs a mjpg stream
I tried a different url and it helped me to know that the problem came from my url. Then I tried a public cam url (http://194.17.150.25/view/index.shtml), the connection is OK but I have a new error message: com.sun.image.codec.jpeg.ImageFormatException: Not a JPEG file: starts with 0x3c 0x68. the exception is thrown by this line image = decoder.decodeAsBufferedImage(); . How can I treat this error? /*sorry for my bad english I am french */
Thank you. I think what I want to do is different, I need a solution which doesn't use sockets. I want to get the DataInputStream by opening a connection on my HttpURLConnection like this

I am trying to understand step by step. I think the exception is thrown in the connect() function at InputStream is = huc.getInputStream(). when I call
getInputStream, nothing seems to work. Stepping through the code, the
inputSteam is null.How can I have


works. There is no problem with the value of huc it contains the right url.

hello,
does anyone know how to develop a simple application for IP camera (Axis, D-link and heden) using Java language. I don't know how to view the IP camera in my GUI.
does anyone has the solution? This is the code i found but I can't make it work there is a null pointer exception when I try to get the stream of the camera.