Function cwipc_activesource_get_config
Defined in File api.h
Function Documentation
-
size_t cwipc_activesource_get_config(cwipc_activesource *src, char *buffer, size_t size)
Return current configuration as a JSON string.
For actual camera capturers this returns the current configuration in a buffer supplied by the caller.
- Parameters:
src – The cwipc_activesource object.
buffer – Where the JSON will be stored. Pass NULL to get the size of the buffer needed.
size – Size of the buffer.