Recorder¶
Records video in separate thread for debugging script crashes and issues.
Basic usage:
SimbaRecorder.Start(30); // Start recording with 30 second buffer
SimbaRecorder.Start(30, 'MyVideos'); // Custom save directory
// Videos are automatically saved on script end
type TSimbaRecorder¶
TSimbaRecorder = record
Thread: TThread;
Running: Boolean;
BufferSeconds: Integer;
VideoPath: String;
RecorderTarget: TTarget;
end;
Manages video recording with buffered capture.
TSimbaRecorder.Start¶
procedure TSimbaRecorder.Start(BufferSeconds: Integer = 30; VideoPath: String = 'Videos');
Starts recording with specified buffer duration and save path.
TSimbaRecorder.IsRecording¶
function TSimbaRecorder.IsRecording(): Boolean;
Returns true if currently recording.