How to know whether a particular camera is streaming or not.

Without the help of ImageViewerControl or JPEGVideosource in XProtect Corporate.

Because in ImageViewerControl I may have some other camera and in JPEGVideosource I am getting error as “Unable to connect to the toolkit!-”

JPEGVideoSource works on playback mode, old footage and it will work no matter if the camera is currently streaming or not. JPEGLiveSource is used in live mode, if the camera is not streaming there is no new images coming.

ImageViewerControl does both live and playback, it will be clear on the user interface whether there is images or not.

“Unable to connect to the toolkit!-” is an error condition, it might be that the camera is deleted or disabled or the recording Server is crashed.

If this does not lead you to solve the issue you see I have some questions:

Are you doing a plugin or standalone application? Smart Client plugin? Does the Smart Client without any plugin integration work as expected?

Thanks for the answer.
I think I was getting the above error because of recording server crashed.

1. I’m developing a plugin.
2. Yes, smart client plugin.
3. Yes it’s working fine.

So now the status is that all works as expected?

Yes, but just a small doubt.
Can I use the same via a background plugin?

It is a Smart Client plugin and in a background plugin in the Smart Client you can use JPEGVideoSource.

Note -

A background plugin in the Event Server does not support JPEGVideoSource (or any XxVideoSource/XxLiveSource).

The design is so because of a concern that heavy operations could cause too much load on the Event Server. For best scalability you should build a standalone application or service for anything potentially requiring much computation.

A service would be able to scale as it could run in its own server or multiple servers.

OK, thankyou very much!