Detailed Description
A Recorder node is a Production Node that allows recording of data. It supports all Production Node functions, and adds additional functions.
Typedef Documentation
Enumeration Type Documentation
Defines the type of medium used for recording. See xnAddNodeToRecording.
- Enumerator:
XN_RECORD_MEDIUM_FILE |
Recording medium is a file
|
Definition at line 647 of file XnTypes.h.
Function Documentation
Adds a node to recording and start recording it. This function must be called on each node that is to be recorded with this recorder.
- Parameters:
-
hRecorder | [in] A handle to the recorder. |
hNode | [in] The node to add to the recording. |
compression | [in] The type of compression that will be used to encode the node's data (See XnCodecIDs.h). If XN_CODEC_NULL is specified, a default compression will be chosen according to the node type. |
Creates a recorder.
- Parameters:
-
pContext | [in] The context in which to create the recorder. |
strFormatName | [in] Optional. The name of the format the recorded file will be in. If NULL, file will be in ONI format. |
phRecorder | [out] A pointer to the created recorder handle. |
Gets a string representation of the recording format.
- Parameters:
-
hRecorder | [in] A handle to the recorder. |
Records one frame of data from each node that was added to the recorder with xnAddNodeToRecording.
- Parameters:
-
hRecorder | [in] A handle to the recorder. |
Removes node from recording and stop recording it. This function can be called on a node that was added to recording with xnAddNodeToRecording.
- Parameters:
-
hRecorder | [in] A handle to the recorder. |
hNode | [in] The node to remove from recording. |
Tells the recorder where to record.
- Parameters:
-
hRecorder | [in] A handle to the recorder |
destType | [in] The type of medium to record to. Currently only XN_RECORD_MEDIUM_FILE is supported. |
strDest | [in] Recording destination. If destType is XN_RECORD_MEDIUM_FILE, this specifies a file name. |