Function rs2_config_can_resolve

Function Documentation

int rs2_config_can_resolve(rs2_config *config, rs2_pipeline *pipe, rs2_error **error)

Check if the config can resolve the configuration filters, to find a matching device and streams profiles. The resolution conditions are as described in resolve().

Parameters:
  • config[in] A pointer to an instance of a config

  • pipe[in] The pipeline for which the selected filters are applied

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

True if a valid profile selection exists, false if no selection can be found under the config filters and the available devices.