Sensoray 811 Windows SDK User Manual

Page 12

Advertising
background image

Stops video and audio streaming for preview.

Parameters

devid

device id in the system (use 0 for first channel with a single board installed).

Returns

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

MID811_API int S811_StartCaptureOnly(

int mode,

int devid

);

Starts video streaming for capture only. Useful if only snapshots are desired. See demo program
“Snapshot Only” for an example of using this function.

Parameters

mode

mode=0 RGB24, mode=1 YUY2. The demo application “Snapshot Only” example uses

mode = 0.

devid

device id in the system (use 0 for first channel with a single board installed).

Returns

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

MID811_API int S811_StopCaptureOnly(

int devid

);

Stops snapshot-only video capture stream.

Parameters

devid

device id in the system (use 0 for first channel with a single board installed).

Returns

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

MID811_API int S811_SetRecordMode(

MID811_REC recMode,

12

Advertising