OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

RecordingPhase

public enum RecordingPhase

What happened to a recording.

Value
Started 0 A recording opened and is taking frames.
Stopped 1 A recording finished and its file is complete on disk. It is safe to open, copy or upload at this point.
Failed 2 A recording could not write what it was trying to write. RecordingEvent.Message says what and why: a full disk, a removed drive, a frame that is not the size the file was opened at, or the trailer that finishes the file.
SegmentCompleted 3 One file of a segmented recording was finalized and the next one opened. RecordingEvent.Path is the finished file, so collecting these gives the whole file set.
SourceLost 4 One camera of a RecordingSession stopped delivering and the application said so.
SourceResumed 5 A camera that was lost is delivering again, on the same track and the same session clock.
SourceEnded 6 A camera is finished for good and its track has been closed. See RecordingSession.EndSource(…).
Discarded 7 A recording captured no frames, so its file has been removed. RecordingEvent.Path is the file that is gone.
SegmentPruned 8 A segment of the rolling history was deleted by retention.
RetentionShortened 9 The retention window could not be honoured: segments inside it were deleted anyway, or recording stopped, because the volume had no room left.