what's the format of the stream data in SmartClient ?

Hi,

we’re developing a plugin to dewarp the fisheye. And we get the stream data by using RawLiveSource in my customized plugin.

But i want to know the stream i get in my customized plugin and the stream in preview screen(Live on the SmartClient) are the same one?

if not, what’s the format of the stream data in SmartClient? JPEG(JREGLiveSource)、RawData(RawLiveSource) or Bitmap(BitmapLiveSource)?

Smart Client uses raw data but convert it much like the BitmapLiveSource does. Lookup “The GenericByteData format” in the MIP Documentation. I think we at Milestone have had the idea that dewarp would be based on BitmapLiveSource but it is up to you to choose..

Well, in our customized plugin, because of the stream data format restrict, only RawLiveSource can be used to do the dewarp. If so, the Smart Client will get two stream data. One (Bitmap)for Live preview, and another(Rawdata) for our plugin. This will expend double bandwidth. So, we want to pause the Live preview when dewarp the fisheye. Then, we want to know which API can we use to pause the preview in Smart Client ? Thanks

No matter if you use raw or bitmap data (RawLiveSource or BitmapLiveSource) you will have one stream of raw data across the network, the conversion happens on the client side (not in the server). I believe however if you open two sources you will get two streams even if the camera is the same for the two sources.

Does this fit your observations?