Function cwipc_activesource_reload_config

Function Documentation

bool cwipc_activesource_reload_config(cwipc_activesource *src, const char *configFile)

Reload capturer based on a new configuration.

Only implemented for actual cameras (realsense, kinect). Closes the cameras and reopens them with a new configuration.

Parameters:
  • src – The cwipc_activesource object.

  • configFile – The pathname to the new camera configuration or an inline json configuration string.

Returns:

A boolean that is true if the reload was successful.