Sensoray 2251 Rev.A User Manual

Page 14

Advertising
background image

Starts recording to a file. (Note: The “breakonrecsize” parameter and feature will be obsoleted in
the future. It is recommended that SDK users do their own clip management in order to directly
control the clip names). Please also see the release notes for V115G.

Parameters

fileName

full path to the target file, no extension.

size

maximum file size in megabytes. If the maximum file size is reached, a new file is started

with an incremental number appended to the file name (depending on the

breakonrecsize

value).

breakonrecsize

If set to 0, recording continues to the new file. Otherwise recording is stopped when the file

size reaches the limit.

board

board number in the system (use 0 for single board setups).

Returns

0 on success, negative value if error (see mid2250types.h for error codes list).

MID2250_API int SN_PauseRecord(

int board

);

Pauses the recording. Available only for Video elementary stream. Not available for Audio/Video
multiplexed streams.

Parameters

board

board number in the system (use 0 for single board setups).

Returns

0 on success, negative value if error (see mid2250types.h for error codes list).

MID2250_API int SN_ResumeRecord(

int board

);

14

Advertising
This manual is related to the following products: