beautypg.com

S2253_setuserdata, S2253_enableclosedcaptions – Sensoray 2253 Windows User Manual

Page 36

background image

the latency at the expense of possibly choppy or unsmooth video. Please note
that this setting has NO effect on the latency of the stream captured by the
hardware. For lower capture latency, see the section Ultra-low Latency
Preview earlier in this manual. This function should be called before
S2253_StartPreview if it is used.
bON

on or off setting.

devid

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

strmidx

stream index (0 or 1).

S2253_SetUserData

MID2253_API int __stdcall S2253_SetUserData (

char

*data,

int

len,

int

interval,

int

devid,

int

strmidx);

Inserts user data into the stream. Applies to H.264, MPEG-4 only. User data
can be a string(company name for instance) or binary data(GPS data for
instance).
data

data to insert

len

length of data

interval

frequency to add data to the stream in terms of GOPs. Use 0 to insert data
once (useful for GPS data). Use any other value, N, to insert data after
every Nth GOP (useful for water-marking the stream with a company name
or Copyright). Eg. If interval = 3, the user data will be inserted every 3

rd

GOP.

devid

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

strmidx

stream index (0 or 1).

S2253_EnableClosedCaptions

MID2253_API int __stdcall S2253_EnableClosedCaptions (

36

This manual is related to the following products: