Parameters, Returns – Sensoray 2246 User Manual

Page 38

Advertising
background image

MID2246_API int SN_SetRenderVideo (BOOL bDisplayVideo, int board = 0)

SetRenderVideo allows one to turn off the video window but still stream the video after
SN_StartStream. Video can also be recording with this setting off, but won't be displayed.

Parameters:

bDisplayVideo whether to display video or not
board ID if multiple boards installed.

Returns:

0 on success

MID2246_API int SN_GetRenderVideo (BOOL * bDisplayVideo, int board = 0)

Gets the display video setting

Parameters:

bDisplayVideo pointer to display video setting
board ID if multiple boards installed.

Returns:

0 on success

MID2246_API int SN_SetAspectRatio (MID2246_ASPECT_MODE mode, int board = 0)

Set aspect ratio flag

Parameters:

mode MID2246_ASPECT_NONE--stretched, MID2246_ASPECT_CONST--maintain aspect ratio
board ID if multiple boards installed.

Returns:

0 on success, -ve on error

MID2246_API int SN_GetAspectRatio (MID2246_ASPECT_MODE * mode, int board = 0)

Get the aspect ratio mode

Parameters:

mode returned aspect ratio mode
board ID if multiple boards installed.

Returns:

0 on success

MID2246_API int SN_GetTimeLeft (int bitrate, int board)

Returns estimated recording time left on disk

Parameters:

bitrate is optional bitrate( otherwise uses current bitrate)
board ID if multiple boards installed.

Returns:

time in seconds

38

Advertising