Click here to Skip to main content
15,921,989 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hello,
I'm doing live stream on my webpage with IP camera Foscam FI 8908W . Here is code for me stream
<img name="FoscamCamera" src="http://192.168.0.xxx/videostream.cgi?user=xxx&pwd=xxx" width="640" height="480" alt="Live Feed" style="background-color: #009999" /> 
and I need embed to my page code for moving (left,right,up,down) http://imghost.me/images/2012/10/25/5dhpC.png here is screen from Foscam software, but i need me own code for embed to webpage

Thanks a lot
(sorry for my english )
Posted

1 solution

Well, I don't know of any official command documentation from foscam, but you might find some on google. This is one of them: http://www.zoneminder.com/wiki/index.php/Foscam[^]. A more detailed (and as I know most recent), but less comprehensive is this one: http://www.sistemasorp.es/blog/IPCAMCGISDKV2.1.pdf[^].
You simply have to issue http GET commands to the camera. If you don't want page reload, use ajax for that. If you encounter command compatibility issues, you can easily reverse engineer by using IE9 developer toolbar network profiler or a sniffer tool like Fiddler.
 
Share this answer
 
Comments
Etnic 25-Oct-12 12:24pm    
yes, on this site are good information, but i still don't know how I can embed to my page ?
Zoltán Zörgő 25-Oct-12 12:28pm    
You can not "embed" the commands. You have to make your own buttons or images, and issue the ajax calls to the camera on click event wit the desired command.
Zoltán Zörgő 27-Oct-12 8:57am    
Any progress?
Etnic 27-Oct-12 11:35am    
I understand what do you mean, but me experience with programing aren't very good and I don't know alone how do it ...
Zoltán Zörgő 27-Oct-12 12:47pm    
Well, than why do you want to do it at the first place?
For the start, look at the source code of the page, the embedded web serve is showing you (the page, who's screenshot you posted). In IE and Chrome you will find tool to trace network traffic and javascript code execution.
I can't do for you, because I have no such camera (yet), thus it is impossible for me to test. But you decided to do this, you have to do it.
Here is how you can make ajax GET calls: http://api.jquery.com/jQuery.get/

BTW: accepting your own so-called answer, seems to me a little bit displeasing in this context...

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