Function rs2_config_disable_indexed_stream

Function Documentation

void rs2_config_disable_indexed_stream(rs2_config *config, rs2_stream stream, int index, rs2_error **error)

Disable a device stream explicitly, to remove any requests on this stream profile. 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

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

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