Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
StartFromInputDevice method 
 
Remarks 
 
Starts a recording session through the predefined input device (see the InitRecorder and ChangeInputDevice methods for changing the predefined input device) using the given input format index. 
 
Calling this method will cause the control to fire a RecordingStarted event. The recording session can be stopped at any time through a call to the Stop method. 
 
For details about the encoding format and parameters applied during recording see the How to perform a recording session section. 
 
 
Syntax 
 
[Visual Basic] 
Public Function StartFromInputDevice
strOutputPath as string 
 
[C#] 
public enumErrorCodes StartFromInputDevice
string strOutputPath 
);
 
[C++] 
public: enumErrorCodes StartFromInputDevice
string strOutputPath 
);
 
 
Parameter
Description
 
 
strOutputPath
String representing the absolute pathname of the output file that will contain the recorded data. If this pathname should contain invalid characters, they would be automatically changed into an underscore '_' character.. 
If the string is left empty, the recording session will be performed in memory.
 
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred. Check the LastError property value in order to see the last error.
enumErrorCodes.ERR_NOERROR (0)
The method call was successful.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents