Member Avatar for gazbg84
gazbg84

Hello!


Hi guys i have a little problem here and a few ideas on how to solve it. I would greatly appreciate it if you can point me in the right direction. Don't have much experience in these matters.

The problem:
Need ot present a JPG from a camera(should look like a video 3-4 will do) in an ASP.NET 2.0 site. The jpg is constanlty overwriting itself on the hdd(10 per second) and is located on a different server than the web server.
Note: In the attachment there is a simplified UML-type representation.

Current soluiton:
Currently i have a thread on the web server that with help of a DLL provided by the camera source server retrives the jpg and saves it locally on the web server (3 times per second).Then a Js does a request every second (faster and it bugs the other Ajaxscripts) for the new picture.(not very neat and the Js/ajax is not made for that, i think).

Ideas:

1. Try to do somth with opensockets/ push jpg on to the browser (maybe revese somth like ajax)?

2. To create a video from jpg file and stream it to the browser (Windows media will do), needs to be realtime ofc.

3. Some kind of flash/silverlight integraiton only for the video?


Thanks in advance,
Gerogi.