I am doing the following operation to reduce the communication amount between Xprotect and camera as much as possible.
Changing the camera to offline and changing it online only when acquiring images.
However, with this method, time lag occurs for about 6 seconds when changing to online.
Is there a way to not cause a time lag?
Or is there a way to acquire images even when taking the camera offline?
If the camera is offline the recording server will start a stream from the camera, and this does take time, the time lag will vary depending on camera model, on codec and general camera setup, on XProtect VMS model etc.
Working with XProtect Enterprise, Professional, Express
If you make the event then you will have to stream always, to have instant images. If the triggering is in the camera, like on a video motion detection event in the camera, some cameras have a pre-alarm functionality that can transfer the images once connection is established.
Working with XProtect Corporate and Expert
Some camera have edge recording capabilities. In the Remote Retrieval Task sample you can explore how this can be utilized from MIP SDK.
From experience: Establishing a H264 or MPEG4 stream takes much longer time than a JPEG stream. If not the requirements demands otherwise you can see if a camera in JPEG mode has sufficiently quick start up of supplying images.
Thank you.
I understood and satisfied with your answer.