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 audio/video streams to disk. When calling StartRecording , a delay is necessary to create/open the recording file and build the recording graph. After all these operations are completed, this event occurs when the recording starts saving to disk.