Function rs2_config_disable_all_streams

Function Documentation

void rs2_config_disable_all_streams(rs2_config *config, rs2_error **error)

Disable all device stream explicitly, to remove any requests on the streams profiles. The streams can still be enabled due to pipeline computer vision module request. This call removes any filter on the streams configuration.

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

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