Skip to content

RecordingKBytesWrittenToDisk

function

Delphi
function RecordingKBytesWrittenToDisk: LongWord;
C++Builder
System::LongWord __fastcall RecordingKBytesWrittenToDisk();
C#
public uint RecordingKBytesWrittenToDisk();
VB.NET
Public Function RecordingKBytesWrittenToDisk() As UInteger
C++/Qt
unsigned int RecordingKBytesWrittenToDisk ();

Returns the current (growing) size, in KB, of the file being recorded, while the recording is running.

Invoke this function periodically (e.g. every 10 seconds) to retrieve the current file size of the video clip being recorded on the fly. When the recording ends, invoke RecordingKBytesWrittenToDisk from the OnRecordingCompleted event to get the final file size of the recorded clip.

Note: due to the recording file buffer, the real size at a given time is always a bit larger than the size reported by this function.