Function rs2_config_disable_stream

Function Documentation

void rs2_config_disable_stream(rs2_config *config, rs2_stream stream, rs2_error **error)

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

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

  • stream[in] Stream type, for which the filters are cleared

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