Skip to content

OnRecordingStarted

event

Delphi
property OnRecordingStarted: TOnFileNotification read FOnRecordingStarted write FOnRecordingStarted;
C++Builder
__property TOnFileNotification OnRecordingStarted = {read=FOnRecordingStarted, write=FOnRecordingStarted};
typedef void __fastcall (__closure *TOnFileNotification)(System::TObject* Sender, System::UnicodeString FileName);
C#
public event OnRecordingStartedEventHandler OnRecordingStarted;
public delegate void OnRecordingStartedEventHandler(object sender, TOnFileNotificationEventArgs e);
VB.NET
Public Event OnRecordingStarted As OnRecordingStartedEventHandler
Public Delegate Sub OnRecordingStartedEventHandler(sender As Object, e As TOnFileNotificationEventArgs)
C++/Qt
void SetOnRecordingStarted (TOnRecordingStartedCb OnRecordingStartedCb);
typedef void CALLBACK TOnRecordingStartedCb (void *Object, void *Sender, wchar_t *FileName);

This TOnFileNotification event occurs when the recording starts writing the audio/video streams to disk.

When StartRecording is called, a delay is necessary to create/open the recording file and build the recording graph: the event occurs once all these operations are completed.