| Functions | |
| wcRCode DLLEXPORT | wcGetConfig (wcHandle client, void *data) | 
| Get configuration from the server for authorized client.  More... | |
| wcRCode DLLEXPORT | wcSetConfig (wcHandle client, const char *cfg) | 
| Send configuration of authorized client to the server.  More... | |
| wcRCode DLLEXPORT | wcDeleteRecords (wcHandle client, const char *indices, void *data) | 
| Delete specified media records for authorized client.  More... | |
| wcRCode DLLEXPORT | wcSendMsg (wcHandle client, const char *msg, void *data) | 
| Send message from authorized client.  More... | |
| wcRCode DLLEXPORT | wcRequestRecord (wcHandle client, int rid, void *data) | 
| Request specified media record from server for authorized client.  More... | |
| wcRCode DLLEXPORT | wcRequestRecordMeta (wcHandle client, int rid, void *data) | 
| Request metadata of specified media record from server for authorized client.  More... | |
| wcRCode DLLEXPORT | wcSaveRecord (wcHandle client, const void *aBuf, size_t sz, const char *meta, void *data) | 
| Send a media record to server from authorized client.  More... | |
| wcRCode DLLEXPORT | wcLaunchOutStream (wcHandle client, const char *subProtocol, int delta, void *data) | 
| Launch output stream for authorized client.  More... | |
| wcRCode DLLEXPORT | wcLaunchInStream (wcHandle client, const char *deviceName, void *data) | 
| Launch task to consume incoming stream from the specified device for authorized client.  More... | |
Get configuration from the server for authorized client.
See protocol request getConfig.json.
| client | The client handle. | 
| data | Additional user data that passed to the new task ( see also wcTaskGetUserData ). | 
Send configuration of authorized client to the server.
See protocol request setConfig.json.
| client | The client handle. | 
| cfg | The C-style JSON-formatted string with new configuration. | 
Delete specified media records for authorized client.
See protocol request deleteRecords.json.
| client | The client handle. | 
| indices | Specified media records as C-style JSON-formatted string. | 
| data | Additional user data that passed to the new task ( see also wcTaskGetUserData ). | 
Send message from authorized client.
See protocol request addMsgs.json.
| client | The client handle. | 
| msg | Specified parameterized message as cJSON object or array of such messages ( addMsgs.json ). | 
| data | Additional user data that passed to the new task ( see also wcTaskGetUserData ). | 
Request specified media record from server for authorized client.
See protocol request getRecordData.json.
| client | The client handle. | 
| rid | Specified media record id ( getRecordData.json ). | 
| data | Additional user data that passed to the new task ( see also wcTaskGetUserData). | 
Request metadata of specified media record from server for authorized client.
See protocol request getRecordMeta.json.
| client | The client handle. | 
| rid | Specified media record id ( getRecordMeta.json ). | 
| data | Additional user data that passed to the new task ( see also wcTaskGetUserData). | 
| wcRCode DLLEXPORT wcSaveRecord | ( | wcHandle | client, | 
| const void * | aBuf, | ||
| size_t | sz, | ||
| const char * | meta, | ||
| void * | data | ||
| ) | 
Send a media record to server from authorized client.
See protocol request addRecord.json.
| client | The client handle. | 
| aBuf | Pointer to record data ( addRecord.json ). | 
| sz | The record size in bytes. | 
| meta | Metadata for the media record ( addRecord.json ). | 
| data | Additional user data that passed to the new task ( see also wcTaskGetUserData ). | 
| wcRCode DLLEXPORT wcLaunchOutStream | ( | wcHandle | client, | 
| const char * | subProtocol, | ||
| int | delta, | ||
| void * | data | ||
| ) | 
Launch output stream for authorized client.
See protocol request input.raw.
| client | The client handle. | 
| subProtocol | The sub protocol description (C-style string, not NULL). | 
| delta | The delta time between frames in ms. | 
| data | Additional user data that passed to the new task ( see also wcTaskGetUserData ). | 
Launch task to consume incoming stream from the specified device for authorized client.
See protocol request output.raw.
| client | The client handle. | 
| deviceName | C-style string containing the specified device name. | 
| data | Additional user data that passed to the new task ( see also wcTaskGetUserData ). |