Click here to Skip to main content
15,996,685 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,
First post so be gentle with me.

I am using an IP Camera and I want to embed the video in a C# form I have written.
I have identified that the html code for the applet is:

XML
</div>
  <h3>Video</h3>
<applet code="com.charliemouse.cambozola.Viewer" archive="/cambozola.jar" width="512px" height="384px" >
  <param name="url" value="/?action=appletvastream"/>
  <param name="watermarks" value="/favicon.png|left,top"/>
</applet>



and I am viewing it in a web browser.
The ip camera has a webpage and uses the java applet inside the browser so I cant directly use the web browser to see all of the video.

I have tried using the httpWebRequest function but I am not getting anywhere.

Would anyone know of any examples they have that are close to doing something like this or tell me if what I am trying to acheive is possible?

Thanks in advanced

Aaron the Newbie
Posted

1 solution

If all the camera gives you is an applet to show the video, you're screwed. You MUST use the WebBrowser control to show the video.

If the camera gives you some other facility, like an SDK to download from the manufacturer site, to use, or some FTP to download images from, or some other option, whatever those are, you'll need to consult the documentation and/or the manufacturer support to see what's available and how to use it.
 
Share this answer
 
Comments
arcadewizz 18-Apr-13 10:37am    
Thanks Dave,
The camera has its own web page and it uses the charliemouse applet in java for the video component. I can use the web browser in c# but I want to isolate the video component of the web page. I have a program called iSpy which has this camera in it's setup which uses just the video component in its setup.
I hope this makes it a bit clearer.

Thanks again.
Dave Kreskowiak 18-Apr-13 10:59am    
I have no idea what you mean by "isolate the video component". The WebBrowser control in the ToolBox is the only one you have that will run a Java applet.
arcadewizz 19-Apr-13 5:21am    
Sorry Dave, as I said I am a newbie to this side of coding. When I bring up the web page of the camera there is more than just the video of the screen. I have found that the HTML code to bring up the video component (pasted above) which brings up the java applet on the web page. I want to post that code into my C# code through the webBrowser control in the toolbox and none of the rest of the web page. How do I insert and where do I insert the HTML code into my C# code to bring up only the video section in the C# form.

I am sorry if I might be asking a NULL question. I was told this could be donee. I have tried a few examples but nothing seems to work.
Dave Kreskowiak 19-Apr-13 8:28am    
You have to create your own little HTML page and probably just put the tag for the video player inside the body tag of the HTML.
arcadewizz 19-Apr-13 8:37am    
Thanks Dave,
I will look that up and give it ago. Thanks for your patience.

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