4 second delay in StartExport() from Live Feed

I have a need to grab a video clip from a camera based on an event. Once the event happens I tried to get a 10 second video using StartExport(now-10 sec, now). The resulting video was about 6 seconds long and accurately represented now-10 to now-4.

Is there a known delay between the camera feed and its availability using StartExport? Is there a work around other than pausing before calling StartExport()?

Can you please check time synchronization client and server? If there isn’t please set them up.

Also please check GOP size. (If you have a GOP length of 32 and a fps of 7 then it will take up to 32/7 = 4,5 seconds.)