I want to show video from remote computer by .NET remoting. My host computer(directly connect to a camera) has a class to handle video grab function, just from client to invoke it.
Host side grab function like this
public VisionImage GrabCamera()
{
try
{
_session.Grab(image, true);
return image;
}
catch (Exception ex)
{
}
}
It's very easy, just return visionimage object to client, then show it in client interface.
in client side, it like,
image = remoteObject.GrabCamera();
It works about several minutes everytime, then show error message "Not enough memory for requested operation".
I created similar function for local application before, it works very well.
I have no idea for that so far.
Any help would be greatly appreciated
Thanks a lot!
Xin Chen