MIP: Debug: DataGet ():Error position cursor in stream!

I used JPEGVideoSource to save image in memory as stream. It worked as well within a few hours until errors occurred. The error message showed as below:

Error positioning cursor in stream! : Could not move to specific time: goto request could not be sent!

Another information is in visual studio output:

MIP: Debug: DataGet ():Error positioning cursor in stream!

VideoOS.Platform.MIPException Throws exception: ‘VideoOS.Platform.Common.dll’

Only restart the component can fix it. Any better solution?

Finally, I found out how to reproduce this problem. Just stop the recording server. However, it won’t turn back even after the recording server restart.

Therefore, I handle the exception and reinitialize the JPEGVideoSource to make the process works when the recording server comes back.