Sensoray 2251 Rev.A User Manual

Page 11

Advertising
background image

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_GetEncodeType(

int board

);

Retrieves current encoding type.

Parameters

board

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

Returns

Current encoding setting, -1 if error.

MID2250_API int SN_SetBitrate(

int bitrate,

int board

);

Set the desired bitrate of the output stream.

Parameters

bitrate

desired bitrate (in bits per second). Recommended values are 1,000,000 to 6,000,000 for D1

resolutions, 300,000 to 2,000,000 for CIF resolutions.

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_GetBitrate(

int board

11

Advertising
This manual is related to the following products: