Why is there a difference of 35 seconds, when setting the playback time and how to prevent it?

I want to set the playback time programmatically and I do this with the following command:

EnvironmentManager.Instance.SendMessage(new VideoOS.Platform.Messaging.Message(
                MessageId.SmartClient.PlaybackCommand,
                new PlaybackCommandData() { Command = PlaybackData.Goto, DateTime = dateTime.ToUniversalTime() }), _playbackFQID);

This works, but with one unexpected behavior: the stream jumps to the point 35 seconds before my requested datetime.

I do understand, that if there is no recording at the exact requested time, the stream jumps to the older available recording. But my problem is independent from that behavior and persists.

Here is an exact example:

If I have a recording during the period 20.8.18, 13:01:30 - 20.8.18, 13:01:40 and I request the playback from 20.8.18, 13:02:00, your engine subtracts 35 seconds of my requested time and therefore thinks, I want the recording for 20.8.18, 13:01:25 (which is before the recording first mentioned) thus jumps wrongly to an older recording e.g. 20.8.18, 10:13:22.

I hope you can follow my explanation and I’m looking forward for information.

Thanks in advance!

Correct. “If there is no recording at the exact requested time, the stream jumps to the older available recording.”

Did you single step frames forward and backwards to find this?

Do you see the same if using goto and single frame forward and backward in the Smart Client as well as in your application?

Do you see the time of 35 seconds somehow or did you deduce it is 35 seconds from a longer series of tests?

Please tell me the product and version of XProtect, the version of MIP SDK and add some notes about the setup. Is server and client same PC? Is the clock of the involved PCs in sync? Is the clock of the camera? What is the camera (make, model and firmware)?

I do not think I have ever heard anything like this, so it is a mystery. Hopefully we will be able to find an explanation..