Function rs2_create_config
Defined in File rs_config.h
Function Documentation
-
rs2_config *rs2_create_config(rs2_error **error)
Create a config instance The config allows pipeline users to request filters for the pipeline streams and device selection and configuration. This is an optional step in pipeline creation, as the pipeline resolves its streaming device internally. Config provides its users a way to set the filters and test if there is no conflict with the pipeline requirements from the device. It also allows the user to find a matching device for the config filters and the pipeline, in order to select a device explicitly, and modify its controls before streaming starts.
- Parameters:
error – [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored
- Returns:
rs2_config* A pointer to a new config instance