ConnectResponseReceived event in ImageViewerWpfControl does not fire when there is no connection

I am using ImageViewerWpfControl

I registered for ConnectResponseReceived event and I noticed that:

if there is a regular estabilished connection to the recording server the event is fired (==>> e.ConnectionGranted is true) , BUT

event is not fired for the opposite event (there is NO regular estabilished connection to the recording server ==>> e.ConnectionGranted ‘should be’ false)

Is it a bug? How can I handle programmatically such situation (client loose connection to recording server)?

This is a bug - we will fix as soon as possible.

You could register on the event hat is fined when a new live frame is received - and reset a timer - when no new frame is received for 5 seconds, something is wrong. You you will not know if it is because of Recorder offline, or camera offline. StatusAPI an​d event server has similar state information, but it might be too much to implement this for your solution.