Functions | |
wcRCode DLLEXPORT | wcClientGetFrameID (wcHandle client, long *id) |
Get the ID of the current output frame. More... | |
wcRCode DLLEXPORT | wcClientFrameLock (wcHandle client) |
Lock the frame object for threadsafe access to the output data stack. More... | |
wcRCode DLLEXPORT | wcClientFrameUnLock (wcHandle client) |
Unlock the frame object. More... | |
wcRCode DLLEXPORT | wcClientFramePushData (wcHandle client, const void *data, size_t len) |
Add a new frame to the outgoing data stack to send. More... | |
wcRCode DLLEXPORT | wcClientFrameGetData (wcHandle client, void **data, size_t *len) |
Get access to the last frame in the outgoing data stack. More... | |
Lock the frame object for threadsafe access to the output data stack.
Related to request input.raw.
client | The client handle. |
Unlock the frame object.
Related to request input.raw.
client | The client handle. |
Add a new frame to the outgoing data stack to send.
Related to request input.raw. The sent frames counter is automatically incremented by one. It is strongly recommended to lock the frame object using the wcClientFrameLock / wcClientFrameUnLock procedures when accessing the outgoing data stack. To add a new frame after sending the previous one, use the wccbkSynchroUpdateTask callback.
client | The client handle. |
Get access to the last frame in the outgoing data stack.
Related to request input.raw. It is strongly recommended to lock the frame object using the wcClientFrameLock / wcClientFrameUnLock procedures when accessing the outgoing data stack.
client | The client handle. |
data | The pointer to the variable of void * type initialized with NULL value to return frame data. |
len | The pointer to the variable of size_t type to return frame size. |
Example