mirror of
https://github.com/kerberos-io/agent.git
synced 2025-10-05 00:02:40 +08:00
Merge pull request #200 from kerberos-io/fix/continue-on-wrong-start-time
fix/continue-on-wrong-start-time
This commit is contained in:
@@ -448,6 +448,12 @@ func HandleRecordStream(queue *packets.Queue, configDirectory string, configurat
|
|||||||
startRecording = lastRecordingTime
|
startRecording = lastRecordingTime
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If startRecording is 0, we will continue as it might be we are in a state of restarting the agent.
|
||||||
|
if startRecording == 0 {
|
||||||
|
log.Log.Info("capture.main.HandleRecordStream(motiondetection): startRecording is 0, we will continue as it might be we are in a state of restarting the agent.")
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
// timestamp_microseconds_instanceName_regionCoordinates_numberOfChanges_token
|
// timestamp_microseconds_instanceName_regionCoordinates_numberOfChanges_token
|
||||||
// 1564859471_6-474162_oprit_577-283-727-375_1153_27.mp4
|
// 1564859471_6-474162_oprit_577-283-727-375_1153_27.mp4
|
||||||
// - Timestamp
|
// - Timestamp
|
||||||
|
Reference in New Issue
Block a user