Skip to content

RecordingKBytesWrittenToDisk

method

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 ();

While recording, this function returns the file size in KB of the file currently being recorded.

This function reports the current (growing) file size in KB while the recording is running.

Invoke this function periodically (e.g. every 10 seconds) to retrieve on the fly the current file size of the video clip being recorded.

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)