getting "the server has lost connnection to the camera" event and reverse

Hi,I am using ImageViewerWpfControl to view live video of a camera.

I’d like to programmatically disable ImageViewerWpfControl and make it Invisible every time there is a “the server has lost connnection to the camera” event (or when it is impossible to start a connection), AND ALSO make it enabled and visible when connection to Camera come back (or when connection is started regularly).

How can I accomplish this?

IMPORTANT: I noticed that when “the server has lost connnection to the camera” event arrives, the ImageViewerWpfControl seems to freeze my application (in particular if user clicks on it).

Thanks

I have an idea you might be able to use:

--

EventHandler VideoOS.Platform.Client.ImageViewerWpfControl.LiveStreamInformationReceived = delegate { }

-

Register on this event to be called when the live stream XML information is available.

Remember to also set the EnableLiveStreamInformation to true;.

--

PS. I am sorry to find this unanswered for so long, I even seem to remember having answered, I must remember wrongly..

Thanks (sorry for my delay)