RecordToNewFileNow
TVideoGrabber.RecordToNewFileNow |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Creates a new file during recording.
Declaration
function RecordToNewFileNow (NewRecordingFileName: string; ResetStreamTime: Boolean): Boolean;
bool __fastcall RecordToNewFileNow (wchar_t *NewRecordingFileName, bool ResetStreamTime);
Function RecordToNewFileNow((NewRecordingFileName as String, ResetStreamTime as Boolean) As Boolean
Description
During recording, invoking RecordToNewFileNow closes the current recording file, and creates a new recording file according to the RecordingFileName property.
- if RecordingFileName is empty, a new file name is generated automatically according to the StoragePath , AutoFileName and AutoFilePrefix .
- if RecordingFileName specifies a file name, this file name will be used to create the new file.