c# - Server side event confusion with ASP.NET -


I am trying to create a web page that uses a user to access images from the server connected to the server using ASP Will allow captivity. met. The camera is an Olympus and the server side code has access to all synchronous calls which are in the camera's SDK.
The problem occurs when I try to capture an image.
The way this works works SDK is that for the first time you tell the camera to take the image, then to add an audience to an event that triggers the camera, once the image is After capturing the camera starts downloading the image.
The event is never triggered, so I am currently unable to download the image from the camera.
A camera tells the listener a camera to take the code and picture in the function, it is within the server side code of the button.
Basically I'm wondering how to become an event listener for a person who changes on the server, such as the position of the camera. >

I hope you have problems with it. For example, I'm sure the camera believes that its use is done by a single desktop application at a time. Calling it from a web application is quite different, because each request can be from a different user, and is already running with the camera which may be unrelated to it.

I recommend that you communicate with the camera through a Windows service. This service will communicate with the web application through a WCF service hosted in the Windows service. This will tell the camera to take an image, and attach to this event. When the incident occurs in the fire, it will download the image from the camera and return it to the web service caller.

The WCF service must ensure that only one user is using the camera at a time. If the camera is already in use, then it must reject the call.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -