StartRecording
function StartRecording: Boolean;
bool __fastcall StartRecording();
public bool StartRecording();
Public Function StartRecording() As Boolean
BOOL StartRecording ();
Starts the recording by using the current video capture device (and audio capture device, if AudioRecording is enabled).
StartRecording takes no parameter. By default (HoldRecording = false), the recording starts as soon as the recording graph is built (after a variable number of seconds, depending on the video capture device, audio/video compressors, etc.).
To start the file at a precise moment, set the HoldRecording property to true before calling StartRecording: the recording graph is built and runs in preview mode, and the writing to the file is held until ResumeRecording is invoked.
The OnRecordingReadyToStart event then occurs when the graph is built, to signal that ResumeRecording can be invoked, at once or later.
See the recording chapter for more information.