Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to get a jpeg stream from IP camera Sanyo VCC-HD4600P in C#.
Unfortunately I cant do it.

link http://ip/liveimg.cgi show single image in Browser
link http://ip/cgi-bin/live2.cgi show live-view in Browser

I try to use AForge.Net JpegStream class, but it's don't get jpegs stream.
I try to use HttpRequest code in C# (I give true login and password to Credentials property of HttpWebRequest), but I get just a stream, which decoded to next string:
XML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<SCRIPT language="JavaScript">
<!--
top.window.location.replace("/cgi-bin/lang.cgi");
//-->
</SCRIPT>
</HEAD><BODY></BODY></HTML>


no image. (((
Please, say me - what is wrong in my actions?
Posted
Updated 28-Dec-10 1:50am
v2
Comments
thatraja 28-Dec-10 11:46am    
Hi, use 'Add comment' link below the answers to reply the answerers, don't post as answer because answerers can't get your message never.

1 solution

Didn't the camera come with documentation that gave examples of accessing the camera?

have you seen this CodeProject article?

Camera Vision - video surveillance on C#[^]

 
Share this answer
 
v3
Comments
thatraja 28-Dec-10 11:45am    
[Comment from OP moved from answer]
I can't find anything in documentation

Yes I have seen at "Camera Vision - video surveillance on C#". I did same operations with HttpRequest. But no result. I get only bytes, which are decoded to string (pointed above in first message). No image. But in browser i can see image.

oxuyan

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900